is_function_ref_tester.hpp
Go to the documentation of this file.
00001 
00002 // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, 
00003 // Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000.  
00004 // Distributed under the Boost Software License, Version 1.0. (See
00005 // accompanying file LICENSE_1_0.txt or copy at
00006 // http://www.boost.org/LICENSE_1_0.txt)
00007 
00008 #if !defined(BOOST_PP_IS_ITERATING)
00009 
00011 
00012 #ifndef BOOST_DETAIL_IS_FUNCTION_REF_TESTER_HPP_INCLUDED
00013 #define BOOST_DETAIL_IS_FUNCTION_REF_TESTER_HPP_INCLUDED
00014 
00015 #include "boost/type_traits/detail/yes_no_type.hpp"
00016 #include "boost/type_traits/config.hpp"
00017 
00018 #if defined(BOOST_TT_PREPROCESSING_MODE)
00019 #   include "boost/preprocessor/iterate.hpp"
00020 #   include "boost/preprocessor/enum_params.hpp"
00021 #   include "boost/preprocessor/comma_if.hpp"
00022 #endif
00023 
00024 namespace boost {
00025 namespace detail {
00026 namespace is_function_ref_tester_ {
00027 
00028 template <class T>
00029 boost::type_traits::no_type BOOST_TT_DECL is_function_ref_tester(T& ...);
00030 
00031 #if !defined(BOOST_TT_PREPROCESSING_MODE)
00032 // preprocessor-generated part, don't edit by hand!
00033 
00034 template <class R>
00035 boost::type_traits::yes_type is_function_ref_tester(R (&)(), int);
00036 
00037 template <class R,class T0 >
00038 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0), int);
00039 
00040 template <class R,class T0,class T1 >
00041 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1), int);
00042 
00043 template <class R,class T0,class T1,class T2 >
00044 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2), int);
00045 
00046 template <class R,class T0,class T1,class T2,class T3 >
00047 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3), int);
00048 
00049 template <class R,class T0,class T1,class T2,class T3,class T4 >
00050 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4), int);
00051 
00052 template <class R,class T0,class T1,class T2,class T3,class T4,class T5 >
00053 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5), int);
00054 
00055 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6 >
00056 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6), int);
00057 
00058 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7 >
00059 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7), int);
00060 
00061 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8 >
00062 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8), int);
00063 
00064 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9 >
00065 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9), int);
00066 
00067 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10 >
00068 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10), int);
00069 
00070 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11 >
00071 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11), int);
00072 
00073 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12 >
00074 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12), int);
00075 
00076 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13 >
00077 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13), int);
00078 
00079 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14 >
00080 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14), int);
00081 
00082 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15 >
00083 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15), int);
00084 
00085 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16 >
00086 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16), int);
00087 
00088 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17 >
00089 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17), int);
00090 
00091 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18 >
00092 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18), int);
00093 
00094 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19 >
00095 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19), int);
00096 
00097 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19,class T20 >
00098 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20), int);
00099 
00100 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19,class T20,class T21 >
00101 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21), int);
00102 
00103 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19,class T20,class T21,class T22 >
00104 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22), int);
00105 
00106 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19,class T20,class T21,class T22,class T23 >
00107 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23), int);
00108 
00109 template <class R,class T0,class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10,class T11,class T12,class T13,class T14,class T15,class T16,class T17,class T18,class T19,class T20,class T21,class T22,class T23,class T24 >
00110 boost::type_traits::yes_type is_function_ref_tester(R (&)(T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24), int);
00111 
00112 #else
00113 
00114 #define BOOST_PP_ITERATION_PARAMS_1 \
00115     (3, (0, 25, "boost/type_traits/detail/is_function_ref_tester.hpp"))
00116 #include BOOST_PP_ITERATE()
00117 
00118 #endif // BOOST_TT_PREPROCESSING_MODE
00119 
00120 } // namespace detail
00121 } // namespace python
00122 } // namespace boost
00123 
00124 #endif // BOOST_DETAIL_IS_FUNCTION_REF_TESTER_HPP_INCLUDED
00125 
00127 
00128 #else
00129 #define i BOOST_PP_FRAME_ITERATION(1)
00130 
00131 template <class R BOOST_PP_COMMA_IF(i) BOOST_PP_ENUM_PARAMS(i,class T) >
00132 boost::type_traits::yes_type is_function_ref_tester(R (&)(BOOST_PP_ENUM_PARAMS(i,T)), int);
00133 
00134 #undef i
00135 #endif // BOOST_PP_IS_ITERATING


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29