Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright David Abrahams, Daniel Wallin 2003.
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_AUX_PACK_DEDUCED_ITEM_HPP
0007 #define BOOST_PARAMETER_AUX_PACK_DEDUCED_ITEM_HPP
0008 
0009 #include <boost/parameter/aux_/void.hpp>
0010 
0011 namespace boost { namespace parameter { namespace aux {
0012 
0013     // A typelist that stored deduced parameter specs.
0014     template <
0015         typename ParameterSpec
0016       , typename Tail = ::boost::parameter::void_
0017     >
0018     struct deduced_item
0019     {
0020         typedef ParameterSpec spec;
0021         typedef Tail tail;
0022     };
0023 
0024     // Evaluate Tail and construct deduced_item list.
0025     template <typename Spec, typename Tail>
0026     struct make_deduced_item
0027     {
0028         typedef ::boost::parameter::aux
0029         ::deduced_item<Spec,typename Tail::type> type;
0030     };
0031 }}} // namespace boost::parameter::aux
0032 
0033 #endif  // include guard
0034