scc 2025.09
SystemC components library
util::stl_pool_allocator< T > Class Template Reference

Classes

struct  rebind

Public Types

typedef T value_type
typedef value_type * pointer
typedef const value_type * const_pointer
typedef value_type & reference
typedef const value_type & const_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type

Public Member Functions

 stl_pool_allocator (stl_pool_allocator const &) noexcept
template<typename T2>
 stl_pool_allocator (stl_pool_allocator< T2 > const &) noexcept
pointer address (reference r)
const_pointer address (const_reference r)
pointer allocate (size_type n, const void *=0)
void deallocate (T *p, size_type n) noexcept
size_type max_size () const noexcept
bool operator== (stl_pool_allocator const &)
bool operator!= (stl_pool_allocator const &oAllocator)

Detailed Description

template<typename T>
class util::stl_pool_allocator< T >

Definition at line 95 of file pool_allocator.h.

Member Typedef Documentation

◆ const_pointer

template<typename T>
typedef const value_type* util::stl_pool_allocator< T >::const_pointer

Definition at line 99 of file pool_allocator.h.

◆ const_reference

template<typename T>
typedef const value_type& util::stl_pool_allocator< T >::const_reference

Definition at line 101 of file pool_allocator.h.

◆ difference_type

template<typename T>
typedef std::ptrdiff_t util::stl_pool_allocator< T >::difference_type

Definition at line 103 of file pool_allocator.h.

◆ pointer

template<typename T>
typedef value_type* util::stl_pool_allocator< T >::pointer

Definition at line 98 of file pool_allocator.h.

◆ reference

template<typename T>
typedef value_type& util::stl_pool_allocator< T >::reference

Definition at line 100 of file pool_allocator.h.

◆ size_type

template<typename T>
typedef std::size_t util::stl_pool_allocator< T >::size_type

Definition at line 102 of file pool_allocator.h.

◆ value_type

template<typename T>
typedef T util::stl_pool_allocator< T >::value_type

Definition at line 97 of file pool_allocator.h.

Constructor & Destructor Documentation

◆ stl_pool_allocator() [1/2]

template<typename T>
util::stl_pool_allocator< T >::stl_pool_allocator ( stl_pool_allocator< T > const & )
inlinenoexcept

Definition at line 109 of file pool_allocator.h.

◆ stl_pool_allocator() [2/2]

template<typename T>
template<typename T2>
util::stl_pool_allocator< T >::stl_pool_allocator ( stl_pool_allocator< T2 > const & )
inlinenoexcept

Definition at line 111 of file pool_allocator.h.

◆ ~stl_pool_allocator()

template<typename T>
util::stl_pool_allocator< T >::~stl_pool_allocator ( )
inline

Definition at line 113 of file pool_allocator.h.

Member Function Documentation

◆ address() [1/2]

template<typename T>
const_pointer util::stl_pool_allocator< T >::address ( const_reference r)
inline

Definition at line 117 of file pool_allocator.h.

◆ address() [2/2]

template<typename T>
pointer util::stl_pool_allocator< T >::address ( reference r)
inline

Definition at line 116 of file pool_allocator.h.

◆ allocate()

template<typename T>
pointer util::stl_pool_allocator< T >::allocate ( size_type n,
const void * = 0 )
inline

Definition at line 119 of file pool_allocator.h.

◆ deallocate()

template<typename T>
void util::stl_pool_allocator< T >::deallocate ( T * p,
size_type n )
inlinenoexcept

Definition at line 156 of file pool_allocator.h.

◆ max_size()

template<typename T>
size_type util::stl_pool_allocator< T >::max_size ( ) const
inlinenoexcept

Definition at line 189 of file pool_allocator.h.

◆ operator!=()

template<typename T>
bool util::stl_pool_allocator< T >::operator!= ( stl_pool_allocator< T > const & oAllocator)
inline

Definition at line 192 of file pool_allocator.h.

◆ operator==()

template<typename T>
bool util::stl_pool_allocator< T >::operator== ( stl_pool_allocator< T > const & )
inline

Definition at line 191 of file pool_allocator.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/common/util/pool_allocator.h