Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::AddVolatile_Imp< t_TYPE, t_ADD_VOLATILE_FLAG > Struct Template Reference

#include <bslmf_addvolatile.h>

List of all members.

Public Types

typedef t_TYPE volatile Type

Detailed Description

template<class t_TYPE, bool t_ADD_VOLATILE_FLAG>
struct bslmf::AddVolatile_Imp< t_TYPE, t_ADD_VOLATILE_FLAG >

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.

See Component bslmf_addvolatile


Member Typedef Documentation

template<class t_TYPE , bool t_ADD_VOLATILE_FLAG>
typedef t_TYPE volatile bslmf::AddVolatile_Imp< t_TYPE, t_ADD_VOLATILE_FLAG >::Type

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