BDE 4.14.0 Production release
|
#include <bslmf_addvolatile.h>
Public Types | |
typedef BloombergLP::bslmf::AddVolatile_Imp< t_TYPE,!is_reference< t_TYPE >::value &&!is_function< t_TYPE >::value &&!is_volatile< t_TYPE >::value >::Type | type |
This struct
template implements the add_volatile 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 volatile
-qualified at the top-level, then type
is an alias to t_TYPE
with a top-level volatile
-qualifier added; otherwise, type
is an alias to t_TYPE
.
typedef BloombergLP::bslmf::AddVolatile_Imp<t_TYPE,!is_reference<t_TYPE>::value&&!is_function<t_TYPE>::value&&!is_volatile<t_TYPE>::value>::Type bsl::add_volatile< t_TYPE >::type |
This typedef
is an alias to the (template parameter) t_TYPE
with a top-level volatile
-qualifier added if t_TYPE
is not a reference type, nor a function type, nor already volatile
-qualified at the top-level; otherwise, type
is an alias to t_TYPE
.