Searched defs:tree_builder (Results 1 – 1 of 1) sorted by relevance
138 template <typename T> struct tree_builder : tree_builder_base struct141 tree_builder() : tree_builder_base() {} in tree_builder() function142 tree_builder(tree_builder<T>&& x) : tree_builder_base(std::move(x)) in tree_builder() argument145 ~tree_builder() { delete_nodes(root()); } in ~tree_builder()146 tree_builder& operator=(tree_builder&& x) in operator =()151 T* parent() const { return static_cast<T*>(parent_); } in parent()152 T* current() const { return static_cast<T*>(current_); } in current()153 T* root() const { return static_cast<T*>(root_); } in root()154 tree<T> extract(T* x) in extract()158 tree<T> release() in release()[all …]