]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/tti/detail/dtclass.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / tti / detail / dtclass.hpp
1
2 // (C) Copyright Edward Diener 2011,2012,2013
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
6
7 #if !defined(BOOST_TTI_DETAIL_TCLASS_HPP)
8 #define BOOST_TTI_DETAIL_TCLASS_HPP
9
10 #include <boost/mpl/eval_if.hpp>
11 #include <boost/mpl/identity.hpp>
12 #include <boost/type_traits/is_class.hpp>
13
14 namespace boost
15 {
16 namespace tti
17 {
18 namespace detail
19 {
20 template <class BOOST_TTI_DETAIL_TP_T>
21 struct tclass :
22 boost::mpl::eval_if
23 <
24 boost::is_class<BOOST_TTI_DETAIL_TP_T>,
25 BOOST_TTI_DETAIL_TP_T,
26 boost::mpl::identity<BOOST_TTI_DETAIL_TP_T>
27 >
28 {
29 };
30 }
31 }
32 }
33
34 #endif // BOOST_TTI_DETAIL_TCLASS_HPP