Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:52:54

0001 
0002 //  (C) Copyright Edward Diener 2011,2012,2013
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 
0007 #if !defined(BOOST_TTI_DETAIL_TCLASS_HPP)
0008 #define BOOST_TTI_DETAIL_TCLASS_HPP
0009 
0010 #include <boost/mpl/eval_if.hpp>
0011 #include <boost/mpl/identity.hpp>
0012 #include <boost/type_traits/is_class.hpp>
0013 
0014 namespace boost
0015   {
0016   namespace tti
0017     {
0018     namespace detail
0019       {
0020       template <class BOOST_TTI_DETAIL_TP_T>
0021       struct tclass :
0022         boost::mpl::eval_if
0023           <
0024           boost::is_class<BOOST_TTI_DETAIL_TP_T>,
0025           BOOST_TTI_DETAIL_TP_T,
0026           boost::mpl::identity<BOOST_TTI_DETAIL_TP_T>
0027           >
0028         {
0029         };
0030       }
0031     }
0032   }
0033   
0034 #endif // BOOST_TTI_DETAIL_TCLASS_HPP