Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
search_trees_test::Node_Pool< Node > Class Template Reference

Owns the nodes of a tree, which does not free them. More...

#include <search_trees_test_common.H>

Collaboration diagram for search_trees_test::Node_Pool< Node >:
[legend]

Public Member Functions

Node * make (const int key)
 
size_t size () const noexcept
 

Private Attributes

std::vector< std::unique_ptr< Node > > nodes
 

Detailed Description

template<class Node>
class search_trees_test::Node_Pool< Node >

Owns the nodes of a tree, which does not free them.

Definition at line 93 of file search_trees_test_common.H.

Member Function Documentation

◆ make()

template<class Node >
Node * search_trees_test::Node_Pool< Node >::make ( const int  key)
inline

◆ size()

template<class Node >
size_t search_trees_test::Node_Pool< Node >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ nodes

template<class Node >
std::vector<std::unique_ptr<Node> > search_trees_test::Node_Pool< Node >::nodes
private

The documentation for this class was generated from the following file: