GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::detail::cond_dealtor< HT_Map > Class Template Reference

Conditional dey destructor, cc_hash. More...

#include <cond_dealtor.hpp>

Collaboration diagram for __gnu_pbds::detail::cond_dealtor< HT_Map >:

Public Types

typedef HT_Map::entry entry
 
typedef HT_Map::entry_allocator entry_allocator
 
typedef __rebind_e::other entry_allocator
 
typedef entry_allocator::pointer entry_pointer
 
typedef HT_Map::key_type key_type
 

Public Member Functions

 cond_dealtor (entry_allocator *p_a, entry *p_e)
 
 cond_dealtor (entry_pointer p_e)
 
 ~cond_dealtor ()
 
 ~cond_dealtor ()
 
void set_key_destruct ()
 
void set_no_action ()
 
void set_no_action_destructor ()
 

Protected Attributes

bool m_key_destruct
 
bool m_no_action_destructor
 
entry_allocator *const m_p_a
 
entry *const m_p_e
 

Private Types

typedef _Alloc::template rebind< Entry > __rebind_e
 

Private Attributes

entry_pointer m_p_e
 

Static Private Attributes

static entry_allocator s_alloc
 

Detailed Description

template<typename HT_Map>
class __gnu_pbds::detail::cond_dealtor< HT_Map >

Conditional dey destructor, cc_hash.

Conditional deallocate constructor argument.

Member Typedef Documentation

template<typename HT_Map>
typedef _Alloc::template rebind<Entry> __gnu_pbds::detail::cond_dealtor< HT_Map >::__rebind_e
private
template<typename HT_Map>
typedef HT_Map::entry __gnu_pbds::detail::cond_dealtor< HT_Map >::entry
template<typename HT_Map>
typedef HT_Map::entry_allocator __gnu_pbds::detail::cond_dealtor< HT_Map >::entry_allocator
template<typename HT_Map>
typedef __rebind_e::other __gnu_pbds::detail::cond_dealtor< HT_Map >::entry_allocator
template<typename HT_Map>
typedef entry_allocator::pointer __gnu_pbds::detail::cond_dealtor< HT_Map >::entry_pointer
template<typename HT_Map>
typedef HT_Map::key_type __gnu_pbds::detail::cond_dealtor< HT_Map >::key_type

Constructor & Destructor Documentation

template<typename HT_Map>
__gnu_pbds::detail::cond_dealtor< HT_Map >::cond_dealtor ( entry_allocator p_a,
entry p_e 
)
inline
template<typename HT_Map >
__gnu_pbds::detail::cond_dealtor< HT_Map >::~cond_dealtor ( )
inline
template<typename HT_Map>
__gnu_pbds::detail::cond_dealtor< HT_Map >::cond_dealtor ( entry_pointer  p_e)
inline

Member Function Documentation

template<typename HT_Map>
void __gnu_pbds::detail::cond_dealtor< HT_Map >::set_key_destruct ( )
inline
template<typename HT_Map>
void __gnu_pbds::detail::cond_dealtor< HT_Map >::set_no_action ( )
inline
template<typename HT_Map>
void __gnu_pbds::detail::cond_dealtor< HT_Map >::set_no_action_destructor ( )
inline

Member Data Documentation

template<typename HT_Map>
bool __gnu_pbds::detail::cond_dealtor< HT_Map >::m_key_destruct
protected
template<typename HT_Map>
entry_allocator* const __gnu_pbds::detail::cond_dealtor< HT_Map >::m_p_a
protected
template<typename HT_Map>
entry* const __gnu_pbds::detail::cond_dealtor< HT_Map >::m_p_e
protected
template<typename HT_Map>
entry_pointer __gnu_pbds::detail::cond_dealtor< HT_Map >::m_p_e
private
template<typename HT_Map>
cond_dealtor< Entry, _Alloc >::entry_allocator __gnu_pbds::detail::cond_dealtor< Entry, _Alloc >::s_alloc
staticprivate

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