CPPX 2.1.0
A Modern C++ Utility Library
Loading...
Searching...
No Matches
stl_ext::NodePool< T > Class Template Reference

#include <cppx.h>

Collaboration diagram for stl_ext::NodePool< T >:

Public Member Functions

 NodePool ()=default
 
 ~NodePool ()
 
 NodePool (const NodePool &)=delete
 
NodePooloperator= (const NodePool &)=delete
 
 NodePool (NodePool &&other) noexcept
 
NodePooloperator= (NodePool &&other) noexcept
 
template<typename... Args>
Node< T > * allocate (Args &&...args)
 
void deallocate (Node< T > *node)
 
void destroy_all ()
 

Detailed Description

template<typename T>
class stl_ext::NodePool< T >

Definition at line 68 of file cppx.h.

Constructor & Destructor Documentation

◆ NodePool() [1/3]

template<typename T >
stl_ext::NodePool< T >::NodePool ( )
default

◆ ~NodePool()

template<typename T >
stl_ext::NodePool< T >::~NodePool ( )

Definition at line 7 of file node_pool.tpp.

◆ NodePool() [2/3]

template<typename T >
stl_ext::NodePool< T >::NodePool ( const NodePool< T > &  )
delete

◆ NodePool() [3/3]

template<typename T >
stl_ext::NodePool< T >::NodePool ( NodePool< T > &&  other)
noexcept

Definition at line 13 of file node_pool.tpp.

Member Function Documentation

◆ allocate()

template<typename T >
template<typename... Args>
Node< T > * stl_ext::NodePool< T >::allocate ( Args &&...  args)

Definition at line 33 of file node_pool.tpp.

◆ deallocate()

template<typename T >
void stl_ext::NodePool< T >::deallocate ( Node< T > *  node)

Definition at line 39 of file node_pool.tpp.

◆ destroy_all()

template<typename T >
void stl_ext::NodePool< T >::destroy_all ( )

Definition at line 47 of file node_pool.tpp.

◆ operator=() [1/2]

template<typename T >
NodePool & stl_ext::NodePool< T >::operator= ( const NodePool< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
NodePool< T > & stl_ext::NodePool< T >::operator= ( NodePool< T > &&  other)
noexcept

Definition at line 20 of file node_pool.tpp.


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