Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::AddConst_Imp< t_TYPE, t_ADD_CONST_FLAG > Struct Template Reference

#include <bslmf_addconst.h>

List of all members.

Public Types

typedef t_TYPE const Type

Detailed Description

template<class t_TYPE, bool t_ADD_CONST_FLAG>
struct bslmf::AddConst_Imp< t_TYPE, t_ADD_CONST_FLAG >

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.

See Component bslmf_addconst


Member Typedef Documentation

template<class t_TYPE , bool t_ADD_CONST_FLAG>
typedef t_TYPE const bslmf::AddConst_Imp< t_TYPE, t_ADD_CONST_FLAG >::Type

The documentation for this struct was generated from the following file: