Rev | Line | |
---|
[857] | 1 | # if !defined(BOOST_PYTHON_SYNOPSIS)
|
---|
| 2 | # // Copyright David Abrahams 2002.
|
---|
| 3 | # // Distributed under the Boost Software License, Version 1.0. (See
|
---|
| 4 | # // accompanying file LICENSE_1_0.txt or copy at
|
---|
| 5 | # // http://www.boost.org/LICENSE_1_0.txt)
|
---|
| 6 |
|
---|
| 7 | # if !defined(BOOST_PP_IS_ITERATING)
|
---|
| 8 | # error Boost.Python - do not include this file!
|
---|
| 9 | # endif
|
---|
| 10 |
|
---|
| 11 | # define N BOOST_PP_ITERATION()
|
---|
| 12 |
|
---|
| 13 | template <BOOST_PP_ENUM_PARAMS_Z(1, N, class A)>
|
---|
| 14 | typename detail::dependent<object, A0>::type
|
---|
| 15 | operator()(BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, A, const& a)) const
|
---|
| 16 | {
|
---|
| 17 | typedef typename detail::dependent<object, A0>::type obj;
|
---|
| 18 | U const& self = *static_cast<U const*>(this);
|
---|
| 19 | return call<obj>(get_managed_object(self, tag), BOOST_PP_ENUM_PARAMS_Z(1, N, a));
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | # undef N
|
---|
| 23 | # endif // BOOST_PYTHON_SYNOPSIS
|
---|
Note: See
TracBrowser
for help on using the repository browser.