Public Types | Static Public Member Functions | Static Public Attributes
boost::detail::allocator_impl< size, align_ > Struct Template Reference

#include <quick_allocator.hpp>

List of all members.

Public Types

enum  { items_per_page = 512 / size }
typedef freeblock< size, align_ > block

Static Public Member Functions

static void * alloc ()
static void * alloc (std::size_t n)
static void dealloc (void *pv)
static void dealloc (void *pv, std::size_t n)

Static Public Attributes

static blockfree = 0
static unsigned last = allocator_impl<size, align_>::items_per_page
static blockpage = 0

Detailed Description

template<unsigned size, unsigned align_>
struct boost::detail::allocator_impl< size, align_ >

Definition at line 44 of file smart_ptr/detail/quick_allocator.hpp.


Member Typedef Documentation

template<unsigned size, unsigned align_>
typedef freeblock<size, align_> boost::detail::allocator_impl< size, align_ >::block

Definition at line 46 of file smart_ptr/detail/quick_allocator.hpp.


Member Enumeration Documentation

template<unsigned size, unsigned align_>
anonymous enum
Enumerator:
items_per_page 

Definition at line 69 of file smart_ptr/detail/quick_allocator.hpp.


Member Function Documentation

template<unsigned size, unsigned align_>
static void* boost::detail::allocator_impl< size, align_ >::alloc ( ) [inline, static]

Definition at line 89 of file smart_ptr/detail/quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void* boost::detail::allocator_impl< size, align_ >::alloc ( std::size_t  n) [inline, static]

Definition at line 113 of file smart_ptr/detail/quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void boost::detail::allocator_impl< size, align_ >::dealloc ( void *  pv) [inline, static]

Definition at line 142 of file smart_ptr/detail/quick_allocator.hpp.

template<unsigned size, unsigned align_>
static void boost::detail::allocator_impl< size, align_ >::dealloc ( void *  pv,
std::size_t  n 
) [inline, static]

Definition at line 155 of file smart_ptr/detail/quick_allocator.hpp.


Member Data Documentation

template<unsigned size, unsigned align_>
freeblock< size, align_ > * boost::detail::allocator_impl< size, align_ >::free = 0 [static]

Definition at line 85 of file smart_ptr/detail/quick_allocator.hpp.

template<unsigned size, unsigned align_>
unsigned boost::detail::allocator_impl< size, align_ >::last = allocator_impl<size, align_>::items_per_page [static]

Definition at line 87 of file smart_ptr/detail/quick_allocator.hpp.

template<unsigned size, unsigned align_>
freeblock< size, align_ > * boost::detail::allocator_impl< size, align_ >::page = 0 [static]

Definition at line 86 of file smart_ptr/detail/quick_allocator.hpp.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30