Quick Links:

bal | bbl | bdl | bsl

Public Types

bsl::add_const< t_TYPE > Struct Template Reference

#include <bslmf_addconst.h>

List of all members.

Public Types

typedef
BloombergLP::bslmf::AddConst_Imp
< t_TYPE,!is_reference< t_TYPE >
::value &&!is_function< t_TYPE >
::value &&!is_const< t_TYPE >
::value >::Type 
type

Detailed Description

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

This struct template implements the add_const meta-function defined in the C++11 standard [meta.trans.cv], providing an alias, type, that returns the result. If the (template parameter) t_TYPE is not a reference type, nor a function type, nor already const-qualified at the top-level, then type is an alias to t_TYPE with a top-level const-qualifier added; otherwise, type is an alias to t_TYPE.

See Component bslmf_addconst


Member Typedef Documentation

template<class t_TYPE>
typedef BloombergLP::bslmf::AddConst_Imp< t_TYPE, !is_reference<t_TYPE>::value && !is_function<t_TYPE>::value && !is_const<t_TYPE>::value>::Type bsl::add_const< t_TYPE >::type

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