#include <ruby_allocator.hh>
Classes | |
struct | rebind |
Public Types | |
typedef const value_type * | const_pointer |
typedef const value_type & | const_reference |
typedef std::ptrdiff_t | difference_type |
typedef value_type * | pointer |
typedef value_type & | reference |
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 &) |
Definition at line 6 of file ruby_allocator.hh.
typedef const value_type* ruby_allocator< T >::const_pointer |
Definition at line 11 of file ruby_allocator.hh.
typedef const value_type& ruby_allocator< T >::const_reference |
Definition at line 13 of file ruby_allocator.hh.
typedef std::ptrdiff_t ruby_allocator< T >::difference_type |
Definition at line 15 of file ruby_allocator.hh.
typedef value_type* ruby_allocator< T >::pointer |
Definition at line 10 of file ruby_allocator.hh.
typedef value_type& ruby_allocator< T >::reference |
Definition at line 12 of file ruby_allocator.hh.
typedef std::size_t ruby_allocator< T >::size_type |
Definition at line 14 of file ruby_allocator.hh.
typedef T ruby_allocator< T >::value_type |
Definition at line 9 of file ruby_allocator.hh.
ruby_allocator< T >::ruby_allocator | ( | ) | [inline] |
Definition at line 20 of file ruby_allocator.hh.
ruby_allocator< T >::ruby_allocator | ( | const ruby_allocator< T > & | ) | [inline] |
Definition at line 21 of file ruby_allocator.hh.
ruby_allocator< T >::ruby_allocator | ( | const ruby_allocator< U > & | ) | [inline] |
Definition at line 23 of file ruby_allocator.hh.
ruby_allocator< T >::~ruby_allocator | ( | ) | [inline] |
Definition at line 24 of file ruby_allocator.hh.
pointer ruby_allocator< T >::address | ( | reference | x | ) | const [inline] |
Definition at line 26 of file ruby_allocator.hh.
const_pointer ruby_allocator< T >::address | ( | const_reference | x | ) | const [inline] |
Definition at line 27 of file ruby_allocator.hh.
pointer ruby_allocator< T >::allocate | ( | size_type | n, |
const_pointer | = 0 |
||
) | [inline] |
Definition at line 31 of file ruby_allocator.hh.
void ruby_allocator< T >::construct | ( | pointer | p, |
const value_type & | x | ||
) | [inline] |
Definition at line 44 of file ruby_allocator.hh.
void ruby_allocator< T >::deallocate | ( | pointer | p, |
size_type | |||
) | [inline] |
Definition at line 38 of file ruby_allocator.hh.
void ruby_allocator< T >::destroy | ( | pointer | p | ) | [inline] |
Definition at line 47 of file ruby_allocator.hh.
size_type ruby_allocator< T >::max_size | ( | ) | const [inline] |
Definition at line 40 of file ruby_allocator.hh.
void ruby_allocator< T >::operator= | ( | const ruby_allocator< T > & | ) | [private] |