Classes | Public Types | Public Member Functions | Private Member Functions
ruby_allocator< T > Class Template Reference

#include <ruby_allocator.hh>

List of all members.

Classes

struct  rebind

Public Types

typedef const value_typeconst_pointer
typedef const value_typeconst_reference
typedef std::ptrdiff_t difference_type
typedef value_typepointer
typedef value_typereference
typedef std::size_t size_type
typedef T value_type

Public Member Functions

pointer address (reference x) const
const_pointer address (const_reference x) const
pointer allocate (size_type n, const_pointer=0)
void construct (pointer p, const value_type &x)
void deallocate (pointer p, size_type)
void destroy (pointer p)
size_type max_size () const
 ruby_allocator ()
 ruby_allocator (const ruby_allocator &)
template<class U >
 ruby_allocator (const ruby_allocator< U > &)
 ~ruby_allocator ()

Private Member Functions

void operator= (const ruby_allocator &)

Detailed Description

template<class T>
class ruby_allocator< T >

Definition at line 6 of file ruby_allocator.hh.


Member Typedef Documentation

template<class T >
typedef const value_type* ruby_allocator< T >::const_pointer

Definition at line 11 of file ruby_allocator.hh.

template<class T >
typedef const value_type& ruby_allocator< T >::const_reference

Definition at line 13 of file ruby_allocator.hh.

template<class T >
typedef std::ptrdiff_t ruby_allocator< T >::difference_type

Definition at line 15 of file ruby_allocator.hh.

template<class T >
typedef value_type* ruby_allocator< T >::pointer

Definition at line 10 of file ruby_allocator.hh.

template<class T >
typedef value_type& ruby_allocator< T >::reference

Definition at line 12 of file ruby_allocator.hh.

template<class T >
typedef std::size_t ruby_allocator< T >::size_type

Definition at line 14 of file ruby_allocator.hh.

template<class T >
typedef T ruby_allocator< T >::value_type

Definition at line 9 of file ruby_allocator.hh.


Constructor & Destructor Documentation

template<class T >
ruby_allocator< T >::ruby_allocator ( ) [inline]

Definition at line 20 of file ruby_allocator.hh.

template<class T >
ruby_allocator< T >::ruby_allocator ( const ruby_allocator< T > &  ) [inline]

Definition at line 21 of file ruby_allocator.hh.

template<class T >
template<class U >
ruby_allocator< T >::ruby_allocator ( const ruby_allocator< U > &  ) [inline]

Definition at line 23 of file ruby_allocator.hh.

template<class T >
ruby_allocator< T >::~ruby_allocator ( ) [inline]

Definition at line 24 of file ruby_allocator.hh.


Member Function Documentation

template<class T >
pointer ruby_allocator< T >::address ( reference  x) const [inline]

Definition at line 26 of file ruby_allocator.hh.

template<class T >
const_pointer ruby_allocator< T >::address ( const_reference  x) const [inline]

Definition at line 27 of file ruby_allocator.hh.

template<class T >
pointer ruby_allocator< T >::allocate ( size_type  n,
const_pointer  = 0 
) [inline]

Definition at line 31 of file ruby_allocator.hh.

template<class T >
void ruby_allocator< T >::construct ( pointer  p,
const value_type x 
) [inline]

Definition at line 44 of file ruby_allocator.hh.

template<class T >
void ruby_allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 38 of file ruby_allocator.hh.

template<class T >
void ruby_allocator< T >::destroy ( pointer  p) [inline]

Definition at line 47 of file ruby_allocator.hh.

template<class T >
size_type ruby_allocator< T >::max_size ( ) const [inline]

Definition at line 40 of file ruby_allocator.hh.

template<class T >
void ruby_allocator< T >::operator= ( const ruby_allocator< T > &  ) [private]

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


utilrb
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Sat Jun 8 2019 18:49:20