BloombergLP::bslstl::SharedPtrUtil

This struct provides a namespace for operations on shared pointers.

Synopsis

Declared in <bslstl_sharedptr.h>

struct SharedPtrUtil;

Static Member Functions

NameDescription
constCast constCast overloads
createInplaceUninitializedBuffer Return a shared pointer with an in-place representation holding a newly-created uninitialized buffer of the specified bufferSize (in bytes). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 < bufferSize.
dynamicCast dynamicCast overloads
staticCast staticCast overloads