proxygen
folly::Arena< Alloc >::AllocAndSize Struct Reference
Inheritance diagram for folly::Arena< Alloc >::AllocAndSize:
Alloc< T > AllocTracker Ticker

Public Member Functions

 AllocAndSize (const Alloc &a, size_t s)
 
- Public Member Functions inherited from Alloc< T >
 Alloc (int i=8)
 
 Alloc (const Alloc &o)
 
 Alloc (Alloc &&o) noexcept
 
Allocoperator= (const Alloc &)=default
 
Allocoperator= (Alloc &&) noexcept=default
 
bool operator== (const Alloc &o) const
 
bool operator!= (const Alloc &o) const
 
pointer allocate (size_type n)
 
void deallocate (pointer p, size_type n)
 
template<class U , class... Args>
void construct (U *p, Args &&...args)
 
template<class U >
void destroy (U *p)
 
Alloc select_on_container_copy_construction () const
 

Public Attributes

size_t minBlockSize
 
- Public Attributes inherited from Alloc< T >
std::allocator< Ta
 
int id
 

Additional Inherited Members

- Public Types inherited from Alloc< T >
typedef std::allocator< T >::pointer pointer
 
typedef std::allocator< T >::const_pointer const_pointer
 
typedef std::allocator< T >::difference_type difference_type
 
typedef std::allocator< T >::size_type size_type
 
typedef std::allocator< T >::value_type value_type
 
typedef isPropCopy< Tpropagate_on_container_copy_assignment
 
typedef isPropMove< Tpropagate_on_container_move_assignment
 
typedef isPropSwap< Tpropagate_on_container_swap
 
- Static Public Member Functions inherited from Ticker
static void Tick (const std::string &s)
 
- Static Public Attributes inherited from AllocTracker
static int Constructed = 0
 
static int Destroyed = 0
 
static map< void *, size_t > Allocated
 
static map< void *, int > Owner
 
- Static Public Attributes inherited from Ticker
static int CountTicks = 0
 
static int TicksLeft = -1
 

Detailed Description

template<class Alloc>
struct folly::Arena< Alloc >::AllocAndSize

Definition at line 184 of file Arena.h.

Constructor & Destructor Documentation

template<class Alloc>
folly::Arena< Alloc >::AllocAndSize::AllocAndSize ( const Alloc a,
size_t  s 
)
inlineexplicit

Definition at line 185 of file Arena.h.

186  : Alloc(a), minBlockSize(s) {}
static set< string > s
Alloc(int i=8)

Member Data Documentation

template<class Alloc>
size_t folly::Arena< Alloc >::AllocAndSize::minBlockSize

Definition at line 188 of file Arena.h.

Referenced by folly::Arena< SysAllocator< void > >::minBlockSize().


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