Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslma::ManagedPtr_ImpUtil Struct Reference

#include <bslma_managedptr.h>

List of all members.

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

Detailed Description

This struct provides a namespace for utility functions used to obtain the necessary types of pointers.

See Component bslma_managedptr


Member Function Documentation

template<class TYPE >
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.

template<class TYPE >
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.


The documentation for this struct was generated from the following file: