Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::util::mallocator< T > Class Template Reference

#include <flex_string.hpp>

Classes

struct  rebind
 

Public Types

typedef T value_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef std::size_t size_type
 
typedef int difference_type
 

Public Member Functions

 mallocator ()
 
 mallocator (const mallocator &)
 
 ~mallocator ()
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
pointer allocate (size_type n, const_pointer=0)
 
void deallocate (pointer p, size_type)
 
size_type max_size () const
 
void construct (pointer p, const value_type &x)
 
void destroy (pointer p)
 

Member Typedef Documentation

template<class T >
typedef const value_type* boost::wave::util::mallocator< T >::const_pointer
template<class T >
typedef const value_type& boost::wave::util::mallocator< T >::const_reference
template<class T >
typedef int boost::wave::util::mallocator< T >::difference_type
template<class T >
typedef value_type* boost::wave::util::mallocator< T >::pointer
template<class T >
typedef value_type& boost::wave::util::mallocator< T >::reference
template<class T >
typedef std::size_t boost::wave::util::mallocator< T >::size_type
template<class T >
typedef T boost::wave::util::mallocator< T >::value_type

Constructor & Destructor Documentation

template<class T >
boost::wave::util::mallocator< T >::mallocator ( )
inline
template<class T >
boost::wave::util::mallocator< T >::mallocator ( const mallocator< T > &  )
inline
template<class T >
boost::wave::util::mallocator< T >::~mallocator ( )
inline

Member Function Documentation

template<class T >
pointer boost::wave::util::mallocator< T >::address ( reference  x) const
inline

References boost::flyweights::x.

template<class T >
const_pointer boost::wave::util::mallocator< T >::address ( const_reference  x) const
inline

References boost::flyweights::x.

template<class T >
pointer boost::wave::util::mallocator< T >::allocate ( size_type  n,
const_pointer  = 0 
)
inline
template<class T >
void boost::wave::util::mallocator< T >::construct ( pointer  p,
const value_type x 
)
inline
template<class T >
void boost::wave::util::mallocator< T >::deallocate ( pointer  p,
size_type   
)
inline
template<class T >
void boost::wave::util::mallocator< T >::destroy ( pointer  p)
inline
template<class T >
size_type boost::wave::util::mallocator< T >::max_size ( void  ) const
inline

References T.


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