8#ifndef INCLUDED_BSLMA_DEFAULT
9#define INCLUDED_BSLMA_DEFAULT
710#include <bslscm_version.h>
755 static bsls::AtomicOperations::AtomicTypes::Pointer
756 s_requestedDefaultAllocator;
763 static bsls::AtomicOperations::AtomicTypes::Pointer s_defaultAllocator;
768 static bsls::AtomicOperations::AtomicTypes::Pointer s_globalAllocator;
787 static Allocator *determineAndReturnDefaultAllocator();
885 determineAndReturnDefaultAllocator();
892 return alloc ?
static_cast<Allocator *
>(alloc)
893 : determineAndReturnDefaultAllocator();
910 return basicAllocator ? basicAllocator
916#ifdef BSLS_LIBRARYFEATURES_HAS_CPP17_PMR
921struct Default_NewDeleteSetter {
927 Default_NewDeleteSetter();
929 Default_NewDeleteSetter(
const Default_NewDeleteSetter&) =
delete;
934static Default_NewDeleteSetter Default_NewDeleteSetterSingleton;
940#ifndef BDE_OPENSOURCE_PUBLICATION
946#ifndef BDE_OMIT_INTERNAL_DEPRECATED
Definition bslma_allocator.h:457
static NewDeleteAllocator & singleton()
bslma::Default bslma_Default
This alias is defined for backward compatibility.
Definition bslma_default.h:959
bslma::Default bdema_Default
Definition bslma_default.h:954
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balxml_encoderoptions.h:68
Definition bslma_default.h:740
static Allocator * globalAllocator(Allocator *basicAllocator=0)
Definition bslma_default.h:905
static Allocator * setGlobalAllocator(Allocator *basicAllocator)
static Allocator * allocator(Allocator *basicAllocator=0)
Definition bslma_default.h:897
static void setDefaultAllocatorRaw(Allocator *basicAllocator)
static void lockDefaultAllocator()
Definition bslma_default.h:883
static int setDefaultAllocator(Allocator *basicAllocator)
static Allocator * defaultAllocator()
Definition bslma_default.h:889
static void * getPtrAcquire(AtomicTypes::Pointer const *atomicPtr)
Definition bsls_atomicoperations.h:2312
static void * getPtrRelaxed(AtomicTypes::Pointer const *atomicPtr)
Definition bsls_atomicoperations.h:2318