|
BDE 4.14.0 Production release
|
#include <bslmf_addconst.h>
Public Types | |
| typedef t_TYPE const | Type |
This struct template provides an alias Type that adds a const-qualifier to the (template parameter) t_TYPE if the (template parameter) t_ADD_CONST_FLAG is true. This generic default template adds the const-qualifier to t_TYPE in the Type alias. A template specialization (below) leaves t_TYPE as-is in its Type alias.
| typedef t_TYPE const bslmf::AddConst_Imp< t_TYPE, t_ADD_CONST_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 const-qualifier has been added.