Classes | Public Types | Public Member Functions | List of all members
VariantAllocator< T > Class Template Reference

#include <variant_allocator.h>

Classes

struct  rebind
 

Public Types

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

Public Member Functions

pointer address (reference value) const
 
const_pointer address (const_reference value) const
 
pointer allocate (size_type num, const void *hint=0)
 
void construct (pointer p, const T &value)
 
void deallocate (pointer p, size_type n)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 

Detailed Description

template<class T>
class VariantAllocator< T >

Software License Agreement (MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 31 of file variant_allocator.h.

Member Typedef Documentation

template<class T >
typedef const T* VariantAllocator< T >::const_pointer

Definition at line 37 of file variant_allocator.h.

template<class T >
typedef const T& VariantAllocator< T >::const_reference

Definition at line 39 of file variant_allocator.h.

template<class T >
typedef ptrdiff_t VariantAllocator< T >::difference_type

Definition at line 35 of file variant_allocator.h.

template<class T >
typedef T* VariantAllocator< T >::pointer

Definition at line 36 of file variant_allocator.h.

template<class T >
typedef T& VariantAllocator< T >::reference

Definition at line 38 of file variant_allocator.h.

template<class T >
typedef size_t VariantAllocator< T >::size_type

Definition at line 34 of file variant_allocator.h.

template<class T >
typedef T VariantAllocator< T >::value_type

Definition at line 40 of file variant_allocator.h.

Member Function Documentation

template<class T >
pointer VariantAllocator< T >::address ( reference  value) const
inline

Definition at line 59 of file variant_allocator.h.

template<class T >
const_pointer VariantAllocator< T >::address ( const_reference  value) const
inline

Definition at line 64 of file variant_allocator.h.

template<class T >
pointer VariantAllocator< T >::allocate ( size_type  num,
const void *  hint = 0 
)
inline

Definition at line 48 of file variant_allocator.h.

template<class T >
void VariantAllocator< T >::construct ( pointer  p,
const T &  value 
)
inline

Definition at line 53 of file variant_allocator.h.

template<class T >
void VariantAllocator< T >::deallocate ( pointer  p,
size_type  n 
)
inline

Definition at line 74 of file variant_allocator.h.

template<class T >
void VariantAllocator< T >::destroy ( pointer  p)
inline

Definition at line 69 of file variant_allocator.h.

template<class T >
size_type VariantAllocator< T >::max_size ( ) const
throw (
)
inline

Definition at line 79 of file variant_allocator.h.


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


bcap_service
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:23