|
BDE 4.39.x Production Release
|
#include <bslma_memoryresourceimpsupport.h>
Namespace for functions that support implementing a memory resource.
Static Public Member Functions | |
| static BSLS_KEYWORD_CONSTEXPR void * | singularPointer () |
|
inlinestatic |
Return a maximally aligned, non-null pointer that cannnot organically result from any operation other than calling this function; i.e., it is a singular pointer. Within a single program execution, no other current or future object, of any storage duration, will have an address matching this function's return value. The returned address may be used by an allocation function to indicate a non-allocation, e.g., the result of allocating zero bytes.