BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::add_pointer< t_TYPE > Struct Template Reference

#include <bslmf_addpointer.h>

Public Types

typedef BloombergLP::bslmf::AddPointer_Impl< t_TYPE >::type type
 

Detailed Description

template<class t_TYPE>
struct bsl::add_pointer< t_TYPE >

This struct template implements the add_pointer meta-function defined in the C++11 standard [meta.trans.ptr], providing an alias, type, that returns the result. If the (template parameter) t_TYPE is not a reference type, then type is an alias to a pointer type that points to t_TYPE; otherwise, type is an alias to a pointer type that points to the type referred to by the reference t_TYPE, unless it is not legal to form such a pointer type, in which case type is an alias for t_TYPE.

Member Typedef Documentation

◆ type

template<class t_TYPE >
typedef BloombergLP::bslmf::AddPointer_Impl<t_TYPE>::type bsl::add_pointer< t_TYPE >::type

This typedef is an alias to a pointer type that points to the (template parameter) t_TYPE if it is not a reference type; otherwise, this typedef is an alias to a pointer type that points to the type referred to by the reference t_TYPE.


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