#include <allocator.hpp>
Public Types | |
typedef _Node< _Tp > | _Node_ |
typedef _Node_::_Base_ptr | _Base_ptr |
typedef _Alloc | allocator_type |
Public Member Functions | |
_Alloc_base (allocator_type const &__A) | |
allocator_type | get_allocator () const |
Protected Member Functions | |
_Node_ * | _M_allocate_node () |
void | _M_deallocate_node (_Node_ *const __P) |
void | _M_construct_node (_Node_ *__p, _Tp const __V=_Tp(), _Base_ptr const __PARENT=NULL, _Base_ptr const __LEFT=NULL, _Base_ptr const __RIGHT=NULL) |
void | _M_destroy_node (_Node_ *__p) |
Protected Attributes | |
allocator_type | _M_node_allocator |
Classes | |
class | NoLeakAlloc |
typedef _Node<_Tp> KDTree::_Alloc_base< _Tp, _Alloc >::_Node_ |
typedef _Node_::_Base_ptr KDTree::_Alloc_base< _Tp, _Alloc >::_Base_ptr |
Reimplemented in KDTree::KDTree< __K, _Val, _Acc, _Dist, _Cmp, _Alloc >.
typedef _Alloc KDTree::_Alloc_base< _Tp, _Alloc >::allocator_type |
Reimplemented in KDTree::KDTree< __K, _Val, _Acc, _Dist, _Cmp, _Alloc >.
KDTree::_Alloc_base< _Tp, _Alloc >::_Alloc_base | ( | allocator_type const & | __A | ) | [inline] |
allocator_type KDTree::_Alloc_base< _Tp, _Alloc >::get_allocator | ( | ) | const [inline] |
Reimplemented in KDTree::KDTree< __K, _Val, _Acc, _Dist, _Cmp, _Alloc >.
_Node_* KDTree::_Alloc_base< _Tp, _Alloc >::_M_allocate_node | ( | ) | [inline, protected] |
void KDTree::_Alloc_base< _Tp, _Alloc >::_M_deallocate_node | ( | _Node_ *const | __P | ) | [inline, protected] |
void KDTree::_Alloc_base< _Tp, _Alloc >::_M_construct_node | ( | _Node_ * | __p, | |
_Tp const | __V = _Tp() , |
|||
_Base_ptr const | __PARENT = NULL , |
|||
_Base_ptr const | __LEFT = NULL , |
|||
_Base_ptr const | __RIGHT = NULL | |||
) | [inline, protected] |
void KDTree::_Alloc_base< _Tp, _Alloc >::_M_destroy_node | ( | _Node_ * | __p | ) | [inline, protected] |
allocator_type KDTree::_Alloc_base< _Tp, _Alloc >::_M_node_allocator [protected] |