|
BDE 4.39.x Production Release
|
#include <bslmf_addvolatile.h>
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.
Public Types | |
| typedef t_TYPE volatile | Type |
| 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.