stlab.adobe.com Adobe Systems Incorporated

capture_allocator< T > Class Template Reference
[Memory]

#include <memory.hpp>

List of all members.

Classes

struct  rebind

Public Types

typedef const T * const_pointer
typedef const T & const_reference
typedef std::ptrdiff_t difference_type
typedef T * pointer
typedef T & reference
typedef std::size_t size_type
typedef T value_type

Public Member Functions

pointer address (reference x) const
const_pointer address (const_reference x) const
pointer allocate (size_type n, capture_allocator< void >::const_pointer=0)
template<typename U >
 capture_allocator (const capture_allocator< U > &x)
 capture_allocator ()
void construct (pointer p, const T &x)
void deallocate (pointer p, size_type)
void destroy (pointer p)
size_type max_size () const
const new_delete_tnew_delete () const

Friends

bool operator!= (const capture_allocator &x, const capture_allocator &y)
bool operator== (const capture_allocator &x, const capture_allocator &y)

Detailed Description

template<typename T>
class adobe::version_1::capture_allocator< T >

Definition at line 691 of file memory.hpp.


Member Typedef Documentation

typedef const T* const_pointer

Definition at line 697 of file memory.hpp.

typedef const T& const_reference

Definition at line 699 of file memory.hpp.

typedef std::ptrdiff_t difference_type

Definition at line 695 of file memory.hpp.

typedef T* pointer

Definition at line 696 of file memory.hpp.

typedef T& reference

Definition at line 698 of file memory.hpp.

typedef std::size_t size_type

Definition at line 694 of file memory.hpp.

typedef T value_type

Definition at line 700 of file memory.hpp.


Constructor & Destructor Documentation

Definition at line 703 of file memory.hpp.

capture_allocator ( const capture_allocator< U > &  x )

Definition at line 705 of file memory.hpp.


Member Function Documentation

pointer address ( reference  x ) const

Definition at line 707 of file memory.hpp.

const_pointer address ( const_reference  x ) const

Definition at line 708 of file memory.hpp.

pointer allocate ( size_type  n,
capture_allocator< void >::const_pointer  = 0 
)

Definition at line 709 of file memory.hpp.

void construct ( pointer  p,
const T &  x 
)

Definition at line 721 of file memory.hpp.

void deallocate ( pointer  p,
size_type   
)

Definition at line 716 of file memory.hpp.

void destroy ( pointer  p )

Definition at line 722 of file memory.hpp.

size_type max_size (  ) const

Definition at line 720 of file memory.hpp.

const new_delete_t* new_delete (  ) const

Definition at line 730 of file memory.hpp.


Friends And Related Function Documentation

bool operator!= ( const capture_allocator< T > &  x,
const capture_allocator< T > &  y 
) [friend]

Definition at line 727 of file memory.hpp.

bool operator== ( const capture_allocator< T > &  x,
const capture_allocator< T > &  y 
) [friend]

Definition at line 724 of file memory.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google