#include <more/gen/ntree.h>
Inheritance diagram for more::gen::ntree:
rhs
. More...value_type
. More...This is a alternative to the nary_tree, and this should work better with mutating algorithms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Construct a tree with a default constructed root node only.
|
|
Construct a tree with only a root node of value x.
|
|
Construct a deep copy of t.
|
|
Destruct.
|
|
Take the nodes of sw and replace them with none.
|
|
Return a container of the immediate branches.
The container has |
|
Return a container of the immediate branches.
The container has |
|
Clear all branches and set the root value to a default constructed instance of
|
|
Return true if this tree's top node is the root of the whole tree.
|
|
Swap nodes with sw.
|
|
Assign a deep copy of t.
|
|
Return the result of a deep comparison with
|
|
Return the tree of which this is a subtree.
|
|
Return the tree of which this is a subtree.
|
|
Return the value of the topmost node.
|
|
Return the value of the topmost node.
|