ASet#
A std::set with AUI extensions.
| Header: | #include <AUI/Common/ASet.h> |
| CMake: | aui_link(my_target PUBLIC aui::core) |
Public Methods#
insertAll#
- Arguments
cother container
Inserts all values of the specified container to the end.
Examples:
examples/ui/infinite_lazy_list/src/main.cpp
Infinite Lazy List — Usage of AUI_DECLARATIVE_FOR to make an infinite lazy list.
return aui::ptr::manage_shared(new Item { .value = "Item {}"_format(loadFrom + i) });
});
AUI_UI_THREAD { // back to main thread.
state->items.writeScope()->insertAll(loadedItems);
state->needMore = false;
};
};
});
isSubsetOf#
- Returns
- true if
ccontainer is a subset of this container, false otherwise.