CACAO
Data Structures | Public Types | Public Member Functions
cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator > Class Template Reference
Inheritance diagram for cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >:

Data Structures

struct  rebind
 

Public Types

typedef BaseAllocator::pointer pointer
 
typedef BaseAllocator::size_type size_type
 

Public Member Functions

 Allocator () throw ()
 
 Allocator (const Allocator &other) throw ()
 
template<class U >
 Allocator (const Allocator< U, typename BaseAllocator::template rebind< U >::other > &other) throw ()
 
 ~Allocator ()
 
pointer allocate (size_type n)
 
pointer allocate (size_type n, pointer h)
 
void deallocate (pointer p, size_type n) throw ()
 

Detailed Description

template<class T, class BaseAllocator = std::allocator<T>>
class cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >

Definition at line 43 of file Allocator.hpp.

Member Typedef Documentation

template<class T , class BaseAllocator = std::allocator<T>>
typedef BaseAllocator::pointer cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::pointer

Definition at line 45 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
typedef BaseAllocator::size_type cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::size_type

Definition at line 46 of file Allocator.hpp.

Constructor & Destructor Documentation

template<class T , class BaseAllocator = std::allocator<T>>
cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::Allocator ( )
throw (
)
inline

Definition at line 48 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::Allocator ( const Allocator< T, BaseAllocator > &  other)
throw (
)
inline

Definition at line 49 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
template<class U >
cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::Allocator ( const Allocator< U, typename BaseAllocator< T, BaseAllocator >::template rebind< U >::other > &  other)
throw (
)
inline

Definition at line 51 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::~Allocator ( )
inline

Definition at line 52 of file Allocator.hpp.

Member Function Documentation

template<class T , class BaseAllocator = std::allocator<T>>
pointer cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::allocate ( size_type  n)
inline

Definition at line 62 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
pointer cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::allocate ( size_type  n,
pointer  h 
)
inline

Definition at line 70 of file Allocator.hpp.

template<class T , class BaseAllocator = std::allocator<T>>
void cacao::jit::compiler2::alloc::Allocator< T, BaseAllocator >::deallocate ( pointer  p,
size_type  n 
)
throw (
)
inline

Definition at line 78 of file Allocator.hpp.


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