NullAllocator is an emphatically empty implementation of the allocator interface. Although it has no direct use, it is useful as a "terminator" in composite allocators.
NullAllocator advertises a relatively large alignment equal to 64 KB. This is because
NullAllocator never actually needs to honor this alignment and because composite allocators using
NullAllocator shouldn't be unnecessarily constrained.
These methods return
b is null. This is because there is no other possible legitimate input.
b is null
shared global instance of the
© 1999–2018 The D Language Foundation
Licensed under the Boost License 1.0.