Quick Links: |
#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 |