entttree 0.1.0
Hierarchical entity management for EnTT
Loading...
Searching...
No Matches
entttree::TraversalConcept Concept Reference

Satisfied by types that have a root and a successors function yielding Node. More...

#include <traverse.h>

Concept definition

template<typename T, typename Node>
requires (TraversalValue<T> t, Node& n) {
{ t.root.has_value() } -> std::convertible_to<bool>;
{ *(t.root) } -> std::convertible_to<Node>;
{ t.successors(n) } -> GeneratorConcept<Node>;
}
Satisfied by types that have a root and a successors function yielding Node.
Definition traverse.h:108
A system for maintaining parent-child relationships on entities.
Definition hierarchy.h:37

Detailed Description

Satisfied by types that have a root and a successors function yielding Node.

Definition at line 108 of file traverse.h.