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 2019
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_ENCLOSING_TYPE_HPP)
0008 #define BOOST_TTI_DETAIL_ENCLOSING_TYPE_HPP
0009 
0010 #include <boost/mpl/or.hpp>
0011 #include <boost/type_traits/is_class.hpp>
0012 #include <boost/type_traits/is_union.hpp>
0013 
0014 namespace boost
0015   {
0016   namespace tti
0017     {
0018     namespace detail
0019       {
0020       template
0021         <
0022         class BOOST_TTI_DETAIL_TP_T
0023         >
0024       struct enclosing_type :
0025         boost::mpl::or_
0026           <
0027           boost::is_class<BOOST_TTI_DETAIL_TP_T>,
0028           boost::is_union<BOOST_TTI_DETAIL_TP_T>
0029           >
0030         {
0031         };
0032       }
0033     }
0034   }
0035   
0036 #endif // BOOST_TTI_DETAIL_ENCLOSING_TYPE_HPP