v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
zone_allocator< T > Class Template Reference

#include <zone-allocator.h>

Data Structures

struct  rebind
 

Public Types

typedef Tpointer
 
typedef const Tconst_pointer
 
typedef Treference
 
typedef const Tconst_reference
 
typedef T value_type
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 

Public Member Functions

 zone_allocator (Zone *zone) throw ()
 
 zone_allocator (const zone_allocator &other) throw ()
 
template<typename U >
 zone_allocator (const zone_allocator< U > &other) throw ()
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
pointer allocate (size_type count, const void *hint=0)
 
void deallocate (pointer p, size_type)
 
size_type max_size () const throw ()
 
void construct (pointer p, const T &val)
 
void destroy (pointer p)
 
bool operator== (zone_allocator const &other)
 
bool operator!= (zone_allocator const &other)
 

Friends

template<typename U >
class zone_allocator
 

Detailed Description

template<typename T>
class v8::internal::zone_allocator< T >

Definition at line 37 of file zone-allocator.h.

Member Typedef Documentation

typedef const T* const_pointer

Definition at line 40 of file zone-allocator.h.

typedef const T& const_reference

Definition at line 42 of file zone-allocator.h.

typedef ptrdiff_t difference_type

Definition at line 45 of file zone-allocator.h.

typedef T* pointer

Definition at line 39 of file zone-allocator.h.

typedef T& reference

Definition at line 41 of file zone-allocator.h.

typedef size_t size_type

Definition at line 44 of file zone-allocator.h.

typedef T value_type

Definition at line 43 of file zone-allocator.h.

Constructor & Destructor Documentation

zone_allocator ( Zone zone)
throw (
)
inlineexplicit

Definition at line 50 of file zone-allocator.h.

zone_allocator ( const zone_allocator< T > &  other)
throw (
)
inlineexplicit

Definition at line 51 of file zone-allocator.h.

zone_allocator ( const zone_allocator< U > &  other)
throw (
)
inline

Definition at line 53 of file zone-allocator.h.

Member Function Documentation

pointer address ( reference  x) const
inline

Definition at line 57 of file zone-allocator.h.

const_pointer address ( const_reference  x) const
inline

Definition at line 58 of file zone-allocator.h.

pointer allocate ( size_type  count,
const void *  hint = 0 
)
inline
void construct ( pointer  p,
const T val 
)
inline

Definition at line 71 of file zone-allocator.h.

References T.

void deallocate ( pointer  p,
size_type   
)
inline

Definition at line 65 of file zone-allocator.h.

void destroy ( pointer  p)
inline

Definition at line 74 of file zone-allocator.h.

size_type max_size ( ) const
throw (
)
inline

Definition at line 67 of file zone-allocator.h.

References T.

bool operator!= ( zone_allocator< T > const &  other)
inline

Definition at line 79 of file zone-allocator.h.

bool operator== ( zone_allocator< T > const &  other)
inline

Definition at line 76 of file zone-allocator.h.

Friends And Related Function Documentation

friend class zone_allocator
friend

Definition at line 55 of file zone-allocator.h.


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