Welcome to the new CppUtils documentation!
Functions & utilities
FUNCTIONSNamespace: CppUtils::Container
Public enums
Section titled “Public enums”SlotState
Section titled “SlotState”enum class SlotState { Empty = 0, Occupied = 1, Erased = 2};Public types
Section titled “Public types”SafeShared
Section titled “SafeShared”using CppUtils::Container::SafeShared = Thread::SharedPtr<Thread::SharedLocker<T>>;SafeWeak
Section titled “SafeWeak”using CppUtils::Container::SafeWeak = Thread::WeakPtr<Thread::SharedLocker<T>>;TokenTree
Section titled “TokenTree”using CppUtils::Container::TokenTree = Tree::TokenTree<CharT>;using CppUtils::Container::AST = TokenTree<CharT>;ASTNode
Section titled “ASTNode”using CppUtils::Container::ASTNode = TokenTree<CharT>::Node;ASTNodeView
Section titled “ASTNodeView”using CppUtils::Container::ASTNodeView = Tree::NodeView<CharT>;using CppUtils::Container::Vec2 = Vec<2, T>;using CppUtils::Container::Vec3 = Vec<3, T>;using CppUtils::Container::Vec4 = Vec<4, T>;Public functions
Section titled “Public functions”template <class T>SafeShared<NetworkPtr<T>>& operator>>(SafeShared<NetworkPtr<T>>& from, SafeShared<NetworkPtr<T>>& to);Creates a directed link from from to to and returns to for chaining.
template <class T>SafeShared<NetworkPtr<T>>& operator&(SafeShared<NetworkPtr<T>>& lhs, SafeShared<NetworkPtr<T>>& rhs);Creates a bidirectional link between lhs and rhs and returns rhs.
template <class T>SafeShared<NetworkPtr<T>>& operator-(SafeShared<NetworkPtr<T>>& from, SafeShared<NetworkPtr<T>>& to);Detaches the directed link from from to to and returns to.
template <class T>SafeShared<NetworkPtr<T>>& operator/(SafeShared<NetworkPtr<T>>& lhs, SafeShared<NetworkPtr<T>>& rhs);Detaches the bidirectional link between lhs and rhs and returns rhs.