Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:42

0001 // Copyright David Abrahams 2005. Distributed under the Boost
0002 // Software License, Version 1.0. (See accompanying
0003 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0004 #ifndef BOOST_DETAIL_IS_XXX_DWA20051011_HPP
0005 # define BOOST_DETAIL_IS_XXX_DWA20051011_HPP
0006 
0007 # include <boost/config.hpp>
0008 # include <boost/type_traits/integral_constant.hpp>
0009 # include <boost/preprocessor/enum_params.hpp>
0010 
0011 
0012 #  define BOOST_DETAIL_IS_XXX_DEF(name, qualified_name, nargs)  \
0013 template <class T>                                              \
0014 struct is_##name : boost::false_type                            \
0015 {                                                               \
0016 };                                                              \
0017                                                                 \
0018 template < BOOST_PP_ENUM_PARAMS_Z(1, nargs, class T) >          \
0019 struct is_##name<                                               \
0020    qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >        \
0021 >                                                               \
0022    : boost::true_type                                           \
0023 {                                                               \
0024 };
0025 
0026 
0027 #endif // BOOST_DETAIL_IS_XXX_DWA20051011_HPP