Quick Links: |
#include <bslma_managedptr.h>
Static Public Member Functions | |
template<class TYPE > | |
static void * | voidify (TYPE *address) BSLS_KEYWORD_NOEXCEPT |
template<class TYPE > | |
static TYPE * | unqualify (const volatile TYPE *address) BSLS_KEYWORD_NOEXCEPT |
This struct
provides a namespace for utility functions used to obtain the necessary types of pointers.
See Component bslma_managedptr
static void* bslma::ManagedPtr_ImpUtil::voidify | ( | TYPE * | address | ) | [static] |
Return the specified address
cast as a pointer to void
, even if (the template parameter) TYPE
is cv-qualified.
static TYPE* bslma::ManagedPtr_ImpUtil::unqualify | ( | const volatile TYPE * | address | ) | [static] |
Return the specified address
of a potentially cv-qualified object of the given (template parameter) TYPE
, cast as a pointer to non-cv-qualified TYPE
.