Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:25

0001     ///////////////////////////////////////////////////////////////////////////////
0002     // template_arity_helper.hpp
0003     // Overloads of template_arity_helper, used by the template_arity\<\> class template
0004     //
0005     //  Copyright 2008 Eric Niebler. Distributed under the Boost
0006     //  Software License, Version 1.0. (See accompanying file
0007     //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008     template<
0009         template<typename P0> class F
0010       , typename T0
0011     >
0012     sized_type<2>::type
0013     template_arity_helper(F<T0> **, mpl::int_<1> *);
0014     template<
0015         template<typename P0 , typename P1> class F
0016       , typename T0 , typename T1
0017     >
0018     sized_type<3>::type
0019     template_arity_helper(F<T0 , T1> **, mpl::int_<2> *);
0020     template<
0021         template<typename P0 , typename P1 , typename P2> class F
0022       , typename T0 , typename T1 , typename T2
0023     >
0024     sized_type<4>::type
0025     template_arity_helper(F<T0 , T1 , T2> **, mpl::int_<3> *);
0026     template<
0027         template<typename P0 , typename P1 , typename P2 , typename P3> class F
0028       , typename T0 , typename T1 , typename T2 , typename T3
0029     >
0030     sized_type<5>::type
0031     template_arity_helper(F<T0 , T1 , T2 , T3> **, mpl::int_<4> *);
0032     template<
0033         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4> class F
0034       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4
0035     >
0036     sized_type<6>::type
0037     template_arity_helper(F<T0 , T1 , T2 , T3 , T4> **, mpl::int_<5> *);
0038     template<
0039         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5> class F
0040       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5
0041     >
0042     sized_type<7>::type
0043     template_arity_helper(F<T0 , T1 , T2 , T3 , T4 , T5> **, mpl::int_<6> *);
0044     template<
0045         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6> class F
0046       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6
0047     >
0048     sized_type<8>::type
0049     template_arity_helper(F<T0 , T1 , T2 , T3 , T4 , T5 , T6> **, mpl::int_<7> *);
0050     template<
0051         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7> class F
0052       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7
0053     >
0054     sized_type<9>::type
0055     template_arity_helper(F<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7> **, mpl::int_<8> *);
0056     template<
0057         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8> class F
0058       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8
0059     >
0060     sized_type<10>::type
0061     template_arity_helper(F<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8> **, mpl::int_<9> *);
0062     template<
0063         template<typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9> class F
0064       , typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9
0065     >
0066     sized_type<11>::type
0067     template_arity_helper(F<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> **, mpl::int_<10> *);