8#ifndef INCLUDED_BSLMA_ALLOCATOR
9#define INCLUDED_BSLMA_ALLOCATOR
416#include <bslma_allocator.fwd.h>
436#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
501#ifndef BDE_OMIT_INTERNAL_DEPRECATED
553 template <class TYPE>
563 template <class TYPE>
640void *operator new(
std::
size_t size,
649void operator delete(
void *address,
707#ifndef BDE_OPENSOURCE_PUBLICATION
715#ifndef bdema_Allocator
716#define bdema_Allocator bslma::Allocator
727void *
operator new(std::size_t size,
728 BloombergLP::bslma::Allocator& basicAllocator)
730 return basicAllocator.
allocate(size);
734void operator delete(
void *address,
735 BloombergLP::bslma::Allocator& basicAllocator)
737 basicAllocator.deallocate(address);
Definition bslma_memoryresource.h:441
memory_resource() BSLS_KEYWORD_DEFAULT
Create this object. Has no effect other than to begin its lifetime.
Definition bslma_allocator.h:457
~Allocator() BSLS_KEYWORD_OVERRIDE
void * do_allocate(std::size_t bytes, std::size_t alignment) BSLS_KEYWORD_OVERRIDE
static void throwBadAlloc()
void deleteObjectRaw(const TYPE *object)
Definition bslma_allocator.h:694
virtual void deallocate(void *address)=0
bool do_is_equal(const memory_resource &other) const BSLS_KEYWORD_NOEXCEPT BSLS_KEYWORD_OVERRIDE
std::size_t size_type
Definition bslma_allocator.h:499
void deleteObject(const TYPE *object)
Definition bslma_allocator.h:680
virtual void * allocate(size_type size)=0
void do_deallocate(void *p, std::size_t bytes, std::size_t alignment) BSLS_KEYWORD_OVERRIDE
bslma::Allocator bslma_Allocator
Definition bslfwd_bslma_allocator.h:53
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_DELETED
Definition bsls_keyword.h:609
#define BSLS_KEYWORD_NOEXCEPT
Definition bsls_keyword.h:632
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bdlb_printmethods.h:283
BloombergLP::bsls::Nullptr_Impl::Type nullptr_t
Definition bsls_nullptr.h:281
Definition balxml_encoderoptions.h:68
Definition bdldfp_decimal.h:5188
static void deleteObject(const TYPE *object, ALLOCATOR *allocator)
Definition bslma_deleterhelper.h:196
static void deleteObjectRaw(const TYPE *object, ALLOCATOR *allocator)
Definition bslma_deleterhelper.h:217