.TH "__gnu_cxx::free_list" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::free_list \- The free list class for managing chunks of memory to be given to and returned by the bitmap_allocator\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fB__gnu_cxx::bitmap_allocator< _Tp >\fP\fC [private]\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef __mutex \fB__mutex_type\fP" .br .ti -1c .RI "typedef vector_type::iterator \fBiterator\fP" .br .ti -1c .RI "typedef size_t * \fBvalue_type\fP" .br .ti -1c .RI "typedef \fB__detail::__mini_vector\fP< value_type > \fBvector_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fB_M_clear\fP ()" .br .RI "This function just clears the internal Free List, and gives back all the memory to the OS\&. " .ti -1c .RI "size_t * \fB_M_get\fP (size_t __sz)" .br .RI "This function gets a block of memory of the specified size from the free list\&. " .ti -1c .RI "void \fB_M_insert\fP (size_t *__addr) throw ()" .br .RI "This function returns the block of memory to the internal free list\&. " .in -1c .SH "Detailed Description" .PP The free list class for managing chunks of memory to be given to and returned by the bitmap_allocator\&. .PP Definition at line \fB518\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "typedef __mutex __gnu_cxx::free_list::__mutex_type" .PP Definition at line \fB524\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "typedef vector_type::iterator __gnu_cxx::free_list::iterator" .PP Definition at line \fB523\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "typedef size_t* __gnu_cxx::free_list::value_type" .PP Definition at line \fB521\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "typedef \fB__detail::__mini_vector\fP \fB__gnu_cxx::free_list::vector_type\fP" .PP Definition at line \fB522\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "void __gnu_cxx::free_list::_M_clear ()" .PP This function just clears the internal Free List, and gives back all the memory to the OS\&. .SS "size_t * __gnu_cxx::free_list::_M_get (size_t __sz)" .PP This function gets a block of memory of the specified size from the free list\&. .PP \fBParameters\fP .RS 4 \fI__sz\fP The size in bytes of the memory required\&. .RE .PP \fBReturns\fP .RS 4 A pointer to the new memory block of size at least equal to that requested\&. .RE .PP .SS "void __gnu_cxx::free_list::_M_insert (size_t * __addr)\fC [inline]\fP" .PP This function returns the block of memory to the internal free list\&. .PP \fBParameters\fP .RS 4 \fI__addr\fP The pointer to the memory block that was given by a call to the _M_get function\&. .RE .PP .PP Definition at line \fB628\fP of file \fBbitmap_allocator\&.h\fP\&. .PP Referenced by \fB__gnu_cxx::bitmap_allocator< _Tp >::_M_deallocate_single_object()\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.