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