BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::ManagedPtr_ImpUtil Struct Reference

#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
 

Detailed Description

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

Member Function Documentation

◆ unqualify()

template<class TYPE >
TYPE * bslma::ManagedPtr_ImpUtil::unqualify ( const volatile TYPE *  address)
inlinestatic

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.

◆ voidify()

template<class TYPE >
void * bslma::ManagedPtr_ImpUtil::voidify ( TYPE *  address)
inlinestatic

Return the specified address cast as a pointer to void, even if (the template parameter) TYPE is cv-qualified.


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