bsl::add_cv::type

This typedef is an alias to the (template parameter) t_TYPE with a top-level const-qualifier and volatile-qualifier added if t_TYPE is not a reference type, nor a function type, nor already const-qualified and volatile-qualified at the top-level; otherwise, type is an alias to t_TYPE.

Synopsis

Declared in <bslmf_addcv.h>

typedef add_const<add_volatile<t_TYPE>::type>::type type;