]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_traits/doc/conditional.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / type_traits / doc / conditional.qbk
1 [/
2 Copyright 2010 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 [/===================================================================]
9 [section:conditional conditional]
10 [/===================================================================]
11
12
13 __header ` #include <boost/type_traits/conditional.hpp>` or ` #include <boost/type_traits.hpp>`
14
15 namespace boost {
16 template <bool B, class T, class U> struct __conditional;
17 }
18
19 If B is true, the member typedef type shall equal T. If B is false, the member typedef type shall equal U.
20
21 [endsect]
22