Metafunction removing a top-level volatile qualifier from a type.
Declared in <bslmf_removevolatile.h>
template<class t_TYPE>
struct remove_volatile;
This struct template implements the remove_volatile meta-function defined in the C++11 standard [meta.trans.cv], providing an alias, type, that returns the result. type has the same type as the (template parameter) t_TYPE except that any top-level volatile-qualifier has been removed. Note that this generic default template provides a type that is an alias to t_TYPE for when t_TYPE is not volatile-qualified. A template specialization is provided (below) that removes the volatile-qualifier for when t_TYPE is volatile-qualified.
| Name | Description |
|---|---|
type | This typedef is an alias to the (template parameter) t_TYPE. |
| Name | Description |
|---|---|
remove_volatile<t_TYPE volatile> | Partial specialization of bsl::remove_volatile for volatile-qualified types. |