Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !

Link entry stored inside a node’s branch.

using CppUtils::Container::MeshNodePtr<Key, Value, Policy>::Link::WeakPtr = SafeWeak<NetworkPtr<MeshNode>>;
std::size_t targetId = 0;

Numeric identifier of the target node (0 when unassigned).

WeakPtr cache;

Weak reference cache to the in-memory target node.

[[nodiscard]] auto Link::operator==(const Link& other) const noexcept -> bool;

Compares two links by numeric target identifier.