]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/type_traits/doc/remove_volatile.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / type_traits / doc / remove_volatile.qbk
CommitLineData
7c673cae
FG
1[/
2 Copyright 2007 John Maddock.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt).
6]
7
8[section:remove_volatile remove_volatile]
9
10 template <class T>
11 struct remove_volatile
12 {
13 typedef __below type;
14 };
15
16__type The same type as `T`, but with any /top level/ volatile-qualifier removed.
17
18__std_ref 3.9.3.
19
20[all_compilers]
21
22__header ` #include <boost/type_traits/remove_volatile.hpp>` or ` #include <boost/type_traits.hpp>`
23
24[table Examples
25
26[ [Expression] [Result Type]]
27
28[[`remove_volatile<int>::type`][`int`]]
29
30[[`remove_volatile<int volatile>::type`] [`int`]]
31
32[[`remove_volatile<int const volatile>::type`] [`int const`]]
33
34[[`remove_volatile<int volatile&>::type`] [`int const&`]]
35
36[[`remove_volatile<int volatile*>::type`] [`int const*`]]
37
38]
39
40[endsect]
41