Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright Cromwell D. Enage 2018.
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // (See accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_PARAMETER_IS_ARGUMENT_PACK_HPP
0007 #define BOOST_PARAMETER_IS_ARGUMENT_PACK_HPP
0008 
0009 #include <boost/parameter/aux_/is_tagged_argument.hpp>
0010 #include <boost/parameter/aux_/arg_list.hpp>
0011 #include <boost/mpl/bool.hpp>
0012 #include <boost/mpl/if.hpp>
0013 #include <boost/type_traits/is_base_of.hpp>
0014 
0015 namespace boost { namespace parameter {
0016 
0017     template <typename T>
0018     struct is_argument_pack
0019       : ::boost::mpl::if_<
0020             ::boost::is_base_of< ::boost::parameter::aux::empty_arg_list,T>
0021           , ::boost::mpl::true_
0022           , ::boost::parameter::aux::is_tagged_argument<T>
0023         >::type
0024     {
0025     };
0026 }}
0027 
0028 #endif  // include guard
0029