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