BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::StdTestAllocator< void > Class Reference

#include <bsltf_stdtestallocator.h>

Classes

struct  rebind
 

Public Types

typedef bsls::Types::UintPtr size_type
 
typedef bsls::Types::IntPtr difference_type
 
typedef void * pointer
 
typedef const void * const_pointer
 
typedef void value_type
 

Public Member Functions

 StdTestAllocator ()
 Create a StdTestAllocator object.
 
template<class BDE_OTHER_TYPE >
 StdTestAllocator (const StdTestAllocator< BDE_OTHER_TYPE > &)
 

Detailed Description

This specialization of StdTestAllocator for void type as the parameterized TYPE does not contain members that are unrepresentable for void.

Member Typedef Documentation

◆ const_pointer

typedef const void* bsltf::StdTestAllocator< void >::const_pointer

◆ difference_type

typedef bsls::Types::IntPtr bsltf::StdTestAllocator< void >::difference_type

◆ pointer

typedef void* bsltf::StdTestAllocator< void >::pointer

◆ size_type

typedef bsls::Types::UintPtr bsltf::StdTestAllocator< void >::size_type

◆ value_type

typedef void bsltf::StdTestAllocator< void >::value_type

Constructor & Destructor Documentation

◆ StdTestAllocator() [1/2]

bsltf::StdTestAllocator< void >::StdTestAllocator ( )
inline

◆ StdTestAllocator() [2/2]

template<class BDE_OTHER_TYPE >
bsltf::StdTestAllocator< void >::StdTestAllocator ( const StdTestAllocator< BDE_OTHER_TYPE > &  )

Create a StdTestAllocator object. Note that this object will compare equal to the default constructed object because, because this type has no state.


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