1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/python/object_call.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,23 @@
1.4 +# if !defined(BOOST_PYTHON_SYNOPSIS)
1.5 +# // Copyright David Abrahams 2002.
1.6 +# // Distributed under the Boost Software License, Version 1.0. (See
1.7 +# // accompanying file LICENSE_1_0.txt or copy at
1.8 +# // http://www.boost.org/LICENSE_1_0.txt)
1.9 +
1.10 +# if !defined(BOOST_PP_IS_ITERATING)
1.11 +# error Boost.Python - do not include this file!
1.12 +# endif
1.13 +
1.14 +# define N BOOST_PP_ITERATION()
1.15 +
1.16 + template <BOOST_PP_ENUM_PARAMS_Z(1, N, class A)>
1.17 + typename detail::dependent<object, A0>::type
1.18 + operator()(BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, A, const& a)) const
1.19 + {
1.20 + typedef typename detail::dependent<object, A0>::type obj;
1.21 + U const& self = *static_cast<U const*>(this);
1.22 + return call<obj>(get_managed_object(self, tag), BOOST_PP_ENUM_PARAMS_Z(1, N, a));
1.23 + }
1.24 +
1.25 +# undef N
1.26 +# endif // BOOST_PYTHON_SYNOPSIS