ReactOS Fundraising Campaign 2012
 
€ 4,060 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

StackAllocator< _Tp > Struct Template Reference

#include <stack_allocator.h>

Data Structures

struct  rebind

Public Types

typedef _Tp value_type
typedef value_typepointer
typedef const _Tp * const_pointer
typedef _Tp & reference
typedef const _Tp & const_reference
typedef size_t size_type
typedef ptrdiff_t difference_type

Public Member Functions

 StackAllocator (char *beg, char *end)
const StategetState () const
template<class _OtherTp >
 StackAllocator (StackAllocator< _OtherTp > const &other)
_Tp * allocate (size_type n, void *=0)
void deallocate (pointer p, size_type n)
pointer address (reference __x) const
const_pointer address (const_reference __x) const
size_type max_size () const
void construct (pointer __p, const_reference __val)
void destroy (pointer __p)
bool ok () const
void reset ()
bool swaped () const
void swap (StackAllocator &other)
bool operator== (StackAllocator const &other) const
bool operator!= (StackAllocator const &other) const

Private Attributes

State m_state

Detailed Description

template<class _Tp>
struct StackAllocator< _Tp >

Definition at line 47 of file stack_allocator.h.


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

Generated on Tue May 22 2012 06:47:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.