sl@0: # if !defined(BOOST_PYTHON_SYNOPSIS) sl@0: # // Copyright David Abrahams 2002. sl@0: # // Distributed under the Boost Software License, Version 1.0. (See sl@0: # // accompanying file LICENSE_1_0.txt or copy at sl@0: # // http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: # if !defined(BOOST_PP_IS_ITERATING) sl@0: # error Boost.Python - do not include this file! sl@0: # endif sl@0: sl@0: # define N BOOST_PP_ITERATION() sl@0: sl@0: template sl@0: typename detail::dependent::type sl@0: operator()(BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, A, const& a)) const sl@0: { sl@0: typedef typename detail::dependent::type obj; sl@0: U const& self = *static_cast(this); sl@0: return call(get_managed_object(self, tag), BOOST_PP_ENUM_PARAMS_Z(1, N, a)); sl@0: } sl@0: sl@0: # undef N sl@0: # endif // BOOST_PYTHON_SYNOPSIS