malloc_allocator Class Template Reference
#include <malloc_allocator.h>
List of all members.
Detailed Description
template<typename Type>
class __gnu_cxx::malloc_allocator< Type >
This is precisely the allocator defined in the C++ Standard.
- all allocation calls malloc
- all deallocation calls free
(See allocators info for more.)
Definition at line 47 of file malloc_allocator.h.
Public Types
-
typedef const Type * const_pointer
-
typedef const Type & const_reference
-
typedef ptrdiff_t difference_type
-
typedef Type * pointer
-
typedef Type & reference
-
typedef size_t size_type
-
typedef Type value_type
Public Member Functions
-
const_pointer address (const_reference x) const
-
pointer address (reference x) const
-
pointer allocate (size_type n, const void *=0)
-
void construct (pointer __p, const Type &__val)
-
void deallocate (pointer __p, size_type)
-
void destroy (pointer __p)
-
template<typename Type1> malloc_allocator (const malloc_allocator< Type1 > &) throw ()
-
malloc_allocator (const malloc_allocator &) throw ()
-
size_type max_size () const throw ()
The documentation for this class was generated from the following file:
Generated on Sun Sep 12 15:50:08 2004 for libstdc++ source by
1.3.8