Classes | Public Types | Public Member Functions | List of all members
pal_statistics::MyAlloc< T > Class Template Reference

Classes

struct  rebind
 

Public Types

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

Public Member Functions

pointer address (reference value) const
 
const_pointer address (const_reference value) const
 
pointer allocate (size_type num, const void *=0)
 
void construct (pointer p, const T &value)
 
void deallocate (pointer p, size_type num)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
 MyAlloc () throw ()
 
 MyAlloc (const MyAlloc &) throw ()
 
template<class U >
 MyAlloc (const MyAlloc< U > &) throw ()
 
 ~MyAlloc () throw ()
 

Detailed Description

template<class T>
class pal_statistics::MyAlloc< T >

Definition at line 21 of file gtest_buffer.cpp.

Member Typedef Documentation

◆ const_pointer

template<class T>
typedef const T* pal_statistics::MyAlloc< T >::const_pointer

Definition at line 27 of file gtest_buffer.cpp.

◆ const_reference

template<class T>
typedef const T& pal_statistics::MyAlloc< T >::const_reference

Definition at line 29 of file gtest_buffer.cpp.

◆ difference_type

template<class T>
typedef std::ptrdiff_t pal_statistics::MyAlloc< T >::difference_type

Definition at line 31 of file gtest_buffer.cpp.

◆ pointer

template<class T>
typedef T* pal_statistics::MyAlloc< T >::pointer

Definition at line 26 of file gtest_buffer.cpp.

◆ reference

template<class T>
typedef T& pal_statistics::MyAlloc< T >::reference

Definition at line 28 of file gtest_buffer.cpp.

◆ size_type

template<class T>
typedef std::size_t pal_statistics::MyAlloc< T >::size_type

Definition at line 30 of file gtest_buffer.cpp.

◆ value_type

template<class T>
typedef T pal_statistics::MyAlloc< T >::value_type

Definition at line 25 of file gtest_buffer.cpp.

Constructor & Destructor Documentation

◆ MyAlloc() [1/3]

template<class T>
pal_statistics::MyAlloc< T >::MyAlloc ( )
throw (
)
inline

Definition at line 53 of file gtest_buffer.cpp.

◆ MyAlloc() [2/3]

template<class T>
pal_statistics::MyAlloc< T >::MyAlloc ( const MyAlloc< T > &  )
throw (
)
inline

Definition at line 56 of file gtest_buffer.cpp.

◆ MyAlloc() [3/3]

template<class T>
template<class U >
pal_statistics::MyAlloc< T >::MyAlloc ( const MyAlloc< U > &  )
throw (
)
inline

Definition at line 60 of file gtest_buffer.cpp.

◆ ~MyAlloc()

template<class T>
pal_statistics::MyAlloc< T >::~MyAlloc ( )
throw (
)
inline

Definition at line 63 of file gtest_buffer.cpp.

Member Function Documentation

◆ address() [1/2]

template<class T>
pointer pal_statistics::MyAlloc< T >::address ( reference  value) const
inline

Definition at line 41 of file gtest_buffer.cpp.

◆ address() [2/2]

template<class T>
const_pointer pal_statistics::MyAlloc< T >::address ( const_reference  value) const
inline

Definition at line 45 of file gtest_buffer.cpp.

◆ allocate()

template<class T>
pointer pal_statistics::MyAlloc< T >::allocate ( size_type  num,
const void *  = 0 
)
inline

Definition at line 74 of file gtest_buffer.cpp.

◆ construct()

template<class T>
void pal_statistics::MyAlloc< T >::construct ( pointer  p,
const T &  value 
)
inline

Definition at line 85 of file gtest_buffer.cpp.

◆ deallocate()

template<class T>
void pal_statistics::MyAlloc< T >::deallocate ( pointer  p,
size_type  num 
)
inline

Definition at line 99 of file gtest_buffer.cpp.

◆ destroy()

template<class T>
void pal_statistics::MyAlloc< T >::destroy ( pointer  p)
inline

Definition at line 92 of file gtest_buffer.cpp.

◆ max_size()

template<class T>
size_type pal_statistics::MyAlloc< T >::max_size ( ) const
throw (
)
inline

Definition at line 68 of file gtest_buffer.cpp.


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


pal_statistics
Author(s):
autogenerated on Mon Feb 28 2022 23:04:05