Ticket #1541: boost.parameter.diff
File boost.parameter.diff, 5.6 KB (added by , 15 years ago) |
---|
-
parameter/python.hpp
63 63 0, /* tp_as_buffer */ 64 64 Py_TPFLAGS_DEFAULT, /* tp_flags */ 65 65 0, /* tp_doc */ 66 0, /* tp_traverse */ 67 0, /* tp_clear */ 68 0, /* tp_richcompare */ 69 0, /* tp_weaklistoffset */ 70 0, /* tp_iter */ 71 0, /* tp_iternext */ 72 0, /* tp_methods */ 73 0, /* tp_members */ 74 0, /* tp_getset */ 75 0, /* tp_base */ 76 0, /* tp_dict */ 77 0, /* tp_descr_get */ 78 0, /* tp_descr_set */ 79 0, /* tp_dictoffset */ 80 0, /* tp_init */ 81 0, /* tp_alloc */ 82 0, /* tp_new */ 83 0, /* tp_free */ 84 0, /* tp_is_gc */ 85 0, /* tp_bases */ 86 0, /* tp_mro */ 87 0, /* tp_cache */ 88 0, /* tp_subclasses */ 89 0, /* tp_weaklist */ 90 #if PYTHON_API_VERSION >= 1012 91 0 /* tp_del */ 92 #endif 66 93 }; 67 94 68 95 if (unspecified.ob_type == 0) -
parameter/macros.hpp
15 15 #include <boost/preprocessor/repetition/enum_params.hpp> 16 16 #include <boost/preprocessor/repetition/enum_binary_params.hpp> 17 17 #include <boost/preprocessor/cat.hpp> 18 #include <boost/detail/workaround.hpp> 18 19 19 20 #define BOOST_PARAMETER_FUN_TEMPLATE_HEAD1(n) \ 20 21 template<BOOST_PP_ENUM_PARAMS(n, class T)> -
parameter/aux_/cast.hpp
2 2 // subject to the Boost Software License, Version 1.0. (See accompanying 3 3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 4 5 #include <boost/detail/workaround.hpp> 6 5 7 #ifndef BOOST_PARAMETER_CAST_060902_HPP 6 8 # define BOOST_PARAMETER_CAST_060902_HPP 7 9 -
parameter/aux_/set.hpp
5 5 #ifndef BOOST_PARAMETER_SET_060912_HPP 6 6 # define BOOST_PARAMETER_SET_060912_HPP 7 7 8 #include <boost/detail/workaround.hpp> 9 8 10 # if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) \ 9 11 && !BOOST_WORKAROUND(__GNUC__, < 3) 10 12 # include <boost/mpl/insert.hpp> -
parameter/aux_/python/invoker_iterate.hpp
6 6 #include <boost/preprocessor/dec.hpp> 7 7 #include <boost/preprocessor/repetition/enum_binary_params.hpp> 8 8 #include <boost/preprocessor/repetition/repeat_from_to.hpp> 9 #include <boost/preprocessor/iteration/iterate.hpp> // BOOST_PP_ITERATION_FLAGS 9 10 10 11 #define N BOOST_PP_ITERATION() 11 12 … … 25 26 >::type BOOST_PP_CAT(arg,n); \ 26 27 typedef typename BOOST_PP_CAT(spec,n)::keyword BOOST_PP_CAT(kw,n); 27 28 28 #if BOOST_PP_ITERATION_FLAGS() == 1 29 #if BOOST_PP_ITERATION_FLAGS() == 0 30 #error "Can this happen?" 31 #elif BOOST_PP_ITERATION_FLAGS() == 1 29 32 template <class M, class R, class Args> 30 33 struct invoker<N, M, R, Args> 31 34 #elif BOOST_PP_ITERATION_FLAGS() == 2 -
parameter/aux_/python/invoker.hpp
8 8 # include <boost/mpl/begin.hpp> 9 9 # include <boost/mpl/next.hpp> 10 10 # include <boost/mpl/deref.hpp> 11 # include <boost/mpl/size.hpp> 11 12 # include <boost/parameter/keyword.hpp> 12 13 # include <boost/preprocessor/iteration/iterate.hpp> 13 14 -
parameter/aux_/arg_list.hpp
24 24 #include <boost/type_traits/is_same.hpp> 25 25 #include <boost/type_traits/is_base_and_derived.hpp> 26 26 #include <boost/preprocessor/repetition/enum_params.hpp> 27 #include <boost/preprocessor/repetition/enum_binary_params.hpp> 27 28 #include <boost/preprocessor/facilities/intercept.hpp> 28 29 29 30 namespace boost { namespace parameter { -
parameter/aux_/default.hpp
3 3 // accompanying file LICENSE_1_0.txt or copy at 4 4 // http://www.boost.org/LICENSE_1_0.txt) 5 5 6 #include <boost/detail/workaround.hpp> 7 6 8 #ifndef DEFAULT_050329_HPP 7 9 #define DEFAULT_050329_HPP 8 10