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

#include <quick_allocator.hpp>

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 quick_allocator.hpp.

Member Typedef Documentation

◆ block

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

Definition at line 46 of file quick_allocator.hpp.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 69 of file quick_allocator.hpp.

Member Function Documentation

◆ alloc() [1/2]

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

Definition at line 90 of file quick_allocator.hpp.

◆ alloc() [2/2]

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

Definition at line 114 of file quick_allocator.hpp.

◆ dealloc() [1/2]

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

Definition at line 143 of file quick_allocator.hpp.

◆ dealloc() [2/2]

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

Definition at line 156 of file quick_allocator.hpp.

Member Data Documentation

◆ free

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

Definition at line 86 of file quick_allocator.hpp.

◆ last

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

Definition at line 88 of file quick_allocator.hpp.

◆ page

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

Definition at line 87 of file quick_allocator.hpp.


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


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:56:23