Sync the default resource with NewDeleteAllocator if unset.

Synopsis

Declared in <bslma_default.h>

Default_NewDeleteSetter();

Description

If std::pmr::set_default_resource has not yet been invoked, call it with the address of the bslma::NewDeleteAllocator singleton, thus ensuring that bslma::Default and get_default_resource are in sync.

Created with MrDocs