Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

bslma Namespace Reference
[Component bdlbb_blobComponent bslalg_constructorproxyComponent bslalg_containerbaseComponent bslma_allocatorComponent bslma_allocatoradaptorComponent bslma_allocatortraitsComponent bslma_autodeallocatorComponent bslma_autodestructorComponent bslma_autorawdeleterComponent bslma_bufferallocatorComponent bslma_constructionutilComponent bslma_deallocatorguardComponent bslma_deallocatorproctorComponent bslma_defaultComponent bslma_defaultallocatorguardComponent bslma_deleterhelperComponent bslma_destructionutilComponent bslma_destructorguardComponent bslma_destructorproctorComponent bslma_exceptionguardComponent bslma_infrequentdeleteblocklistComponent bslma_mallocfreeallocatorComponent bslma_managedallocatorComponent bslma_managedptrComponent bslma_managedptr_factorydeleterComponent bslma_managedptr_membersComponent bslma_managedptr_pairproxyComponent bslma_managedptrdeleterComponent bslma_newdeleteallocatorComponent bslma_rawdeleterguardComponent bslma_rawdeleterproctorComponent bslma_sequentialallocatorComponent bslma_sequentialpoolComponent bslma_sharedptrinplacerepComponent bslma_sharedptroutofplacerepComponent bslma_sharedptrrepComponent bslma_stdtestallocatorComponent bslma_testallocatorComponent bslma_testallocatorexceptionComponent bslma_testallocatormonitorComponent bslma_usesbslmaallocatorComponent bslstl_stringbufComponent bsltf_allocemplacabletesttypeComponent bsltf_alloctesttypeComponent bsltf_movablealloctesttypeComponent bsltf_moveonlyalloctesttypeComponent bsltf_nonoptionalalloctesttypeComponent bsltf_wellbehavedmoveonlyalloctesttypeComponent bslx_testoutstream]

Classes

struct  UsesBslmaAllocator< BloombergLP::bdlbb::Blob >
class  Allocator
class  AllocatorAdaptor_Imp
class  AllocatorAdaptor
struct  AllocatorTraits_HasIsAlwaysEqual
struct  AllocatorTraits_IsAlwaysEqual
struct  AllocatorTraits_IsAlwaysEqual< ALLOC, false >
struct  AllocatorTraits_HasSelectOnCopyMethod
struct  AllocatorTraits_HasPropOnCopyAssign
struct  AllocatorTraits_PropOnCopyAssign
struct  AllocatorTraits_PropOnCopyAssign< ALLOC, true >
struct  AllocatorTraits_HasPropOnMoveAssign
struct  AllocatorTraits_PropOnMoveAssign
struct  AllocatorTraits_PropOnMoveAssign< ALLOC, true >
struct  AllocatorTraits_HasPropOnSwap
struct  AllocatorTraits_PropOnSwap
struct  AllocatorTraits_PropOnSwap< ALLOC, true >
struct  AllocatorTraits_PointerType
struct  AllocatorTraits_PointerType< T, BSLMF_VOIDTYPE(typename T::pointer)>
struct  AllocatorTraits_ConstPointerType
struct  AllocatorTraits_ConstPointerType< T, BSLMF_VOIDTYPE(typename T::const_pointer)>
struct  AllocatorTraits_VoidPointerType
struct  AllocatorTraits_VoidPointerType< T, BSLMF_VOIDTYPE(typename T::void_pointer)>
struct  AllocatorTraits_ConstVoidPointerType
struct  AllocatorTraits_ConstVoidPointerType< T, BSLMF_VOIDTYPE(typename T::const_void_pointer)>
struct  AllocatorTraits_SizeType
struct  AllocatorTraits_SizeType< T, BSLMF_VOIDTYPE(typename T::size_type)>
struct  AllocatorTraits_DifferenceType
struct  AllocatorTraits_DifferenceType< T, BSLMF_VOIDTYPE(typename T::difference_type)>
class  AutoDeallocator
class  AutoDestructor
class  AutoRawDeleter
class  BufferAllocator
struct  ConstructionUtil
struct  ConstructionUtil_Imp
class  DeallocatorGuard
class  DeallocatorProctor
struct  Default
class  DefaultAllocatorGuard
struct  DeleterHelper
struct  DestructionUtil
class  DestructorGuard
class  DestructorProctor
class  ExceptionGuard
class  InfrequentDeleteBlockList
class  MallocFreeAllocator
class  ManagedAllocator
struct  ManagedPtr_ImpUtil
class  ManagedPtr_Ref
struct  ManagedPtr_TraitConstraint
class  ManagedPtr
struct  ManagedPtrUtil
struct  ManagedPtrNilDeleter
struct  ManagedPtr_FactoryDeleterType
struct  ManagedPtr_DefaultDeleter
struct  ManagedPtr_FactoryDeleter
class  ManagedPtr_Members
struct  ManagedPtr_PairProxy
class  ManagedPtrDeleter
class  NewDeleteAllocator
class  RawDeleterGuard
class  RawDeleterProctor
class  SequentialAllocator
class  SequentialPool
class  SharedPtrInplaceRep
struct  SharedPtrInplaceRep_ImpUtil
struct  SharedPtrOutofplaceRep_DeleterType
class  SharedPtrOutofplaceRep
class  SharedPtrOutofplaceRep_DeleterDiscriminator_Imp
class  SharedPtrOutofplaceRep_DeleterDiscriminator_Imp< DELETER, true >
class  SharedPtrOutofplaceRep_DeleterDiscriminator
struct  SharedPtrOutofplaceRep_DeleterHelper
struct  SharedPtrOutofplaceRep_InitProctor
class  SharedPtrRep
class  StdTestAllocator
class  TestAllocator
class  TestAllocatorException
class  TestAllocatorMonitor
struct  UsesBslmaAllocator_Imp
struct  UsesBslmaAllocator_Imp< TYPE, false >
struct  UsesBslmaAllocator
struct  UsesBslmaAllocator< TYPE * >
struct  UsesBslmaAllocator< TYPE & >
struct  UsesBslmaAllocator< const TYPE >
struct  UsesBslmaAllocator< volatile TYPE >
struct  UsesBslmaAllocator< const volatile TYPE >
struct  UsesBslmaAllocator< bsl::basic_istringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > >
struct  UsesBslmaAllocator< bsl::optional< TYPE, false > >
struct  UsesBslmaAllocator< bsl::basic_ostringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > >
struct  UsesBslmaAllocator< bsl::basic_string< CHAR_TYPE, CHAR_TRAITS, ALLOC > >
struct  UsesBslmaAllocator< bsl::basic_stringbuf< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > >
struct  UsesBslmaAllocator< bsl::basic_stringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > >

Functions

template<class TARGET_TYPE >
void swap (ManagedPtr< TARGET_TYPE > &a, ManagedPtr< TARGET_TYPE > &b)
bool operator== (const ManagedPtrDeleter &lhs, const ManagedPtrDeleter &rhs)
bool operator!= (const ManagedPtrDeleter &lhs, const ManagedPtrDeleter &rhs)
template<class T1 , class T2 >
bool operator== (const StdTestAllocator< T1 > &lhs, const StdTestAllocator< T2 > &rhs)
template<class T1 , class T2 >
bool operator!= (const StdTestAllocator< T1 > &lhs, const StdTestAllocator< T2 > &rhs)
template<class TYPE >
bool operator== (const StdTestAllocator< TYPE > &lhs, const TestAllocator *rhs)
template<class TYPE >
bool operator!= (const StdTestAllocator< TYPE > &lhs, const TestAllocator *rhs)
template<class TYPE >
bool operator== (const TestAllocator *lhs, const StdTestAllocator< TYPE > &rhs)
template<class TYPE >
bool operator!= (const TestAllocator *lhs, const StdTestAllocator< TYPE > &rhs)

Function Documentation

template<class TARGET_TYPE >
void bslma::swap ( ManagedPtr< TARGET_TYPE > &  a,
ManagedPtr< TARGET_TYPE > &  b 
)

Efficiently exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee.

bool bslma::operator== ( const ManagedPtrDeleter &  lhs,
const ManagedPtrDeleter &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two ManagedPtrDeleter objects have the same value if the corresponding values of their object, factory, and deleter attributes are the same.

bool bslma::operator!= ( const ManagedPtrDeleter &  lhs,
const ManagedPtrDeleter &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two ManagedPtrDeleter objects do not have the same value if any of the corresponding values of their object, factory, and deleter attributes are not the same.

template<class T1 , class T2 >
bool bslma::operator== ( const StdTestAllocator< T1 > &  lhs,
const StdTestAllocator< T2 > &  rhs 
) [inline]

Return true if the specified lhs and rhs are proxies for the same bslma::TestAllocator object. This is a practical implementation of the STL requirement that two allocators compare equal if and only if memory allocated from one can be deallocated from the other. Note that the two allocators need not be instantiated on the same type in order to compare equal.

template<class T1 , class T2 >
bool bslma::operator!= ( const StdTestAllocator< T1 > &  lhs,
const StdTestAllocator< T2 > &  rhs 
) [inline]

Return true unless the specified lhs and rhs are proxies for the same bslma::TestAllocator object, in which case return false. This is a practical implementation of the STL requirement that two allocators compare equal if and only if memory allocated from one can be deallocated from the other. Note that the two allocators need not be instantiated on the same type in order to compare equal.

template<class TYPE >
bool bslma::operator== ( const StdTestAllocator< TYPE > &  lhs,
const TestAllocator *  rhs 
) [inline]

Return true if the specified lhs is a proxy for the specified rhs, and false otherwise.

template<class TYPE >
bool bslma::operator!= ( const StdTestAllocator< TYPE > &  lhs,
const TestAllocator *  rhs 
) [inline]

Return true unless the specified lhs is a proxy for the specified rhs, in which case return false.

template<class TYPE >
bool bslma::operator== ( const TestAllocator *  lhs,
const StdTestAllocator< TYPE > &  rhs 
) [inline]

Return true if the specified rhs is a proxy for the specified lhs, and false otherwise.

template<class TYPE >
bool bslma::operator!= ( const TestAllocator *  lhs,
const StdTestAllocator< TYPE > &  rhs 
) [inline]

Return true unless the specified rhs is a proxy for the specified lhs, in which case return false.