[#bsl-remove_volatile-0c] = xref:bsl.adoc[bsl]::remove_volatile :relfileprefix: ../ :mrdocs: 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. == Synopsis Declared in `<bslmf_removevolatile.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> struct remove_volatile; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/remove_volatile-0c/type.adoc[`type`] | This `typedef` is an alias to the (template parameter) `t_TYPE`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:bsl/remove_volatile-0a.adoc[`remove_volatile<t_TYPE volatile>`] | This partial specialization of `bsl::remove_volatile`, for when the (template parameter) `t_TYPE` is `volatile`‐qualified, provides a `typedef`, `type`, that has the `volatile`‐qualifier removed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#