BDE 4.14.0 Production release
|
#include <bslmf_addvolatile.h>
Public Types | |
typedef t_TYPE volatile | Type |
This struct
template provides an alias, Type
, that adds a volatile
-qualifier to the (template parameter) t_TYPE
if the (template parameter) t_ADD_VOLATILE_FLAG
is true
. This generic default template adds the volatile
-qualifier to t_TYPE
. A template specialization (below) leaves t_TYPE
as-is in its Type
alias.
typedef t_TYPE volatile bslmf::AddVolatile_Imp< t_TYPE, t_ADD_VOLATILE_FLAG >::Type |
This typedef
is an alias to a type that is the same as the (template parameter) t_TYPE
except that a top-level volatile
-qualifier has been added.