Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/python/object_call.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 # if !defined(BOOST_PYTHON_SYNOPSIS)
0002 # // Copyright David Abrahams 2002.
0003 # // Distributed under the Boost Software License, Version 1.0. (See
0004 # // accompanying file LICENSE_1_0.txt or copy at
0005 # // http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #  if !defined(BOOST_PP_IS_ITERATING)
0008 #   error Boost.Python - do not include this file!
0009 #  endif
0010 
0011 #  define N BOOST_PP_ITERATION()
0012 
0013     template <BOOST_PP_ENUM_PARAMS_Z(1, N, class A)>
0014     typename detail::dependent<object, A0>::type
0015     operator()(BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, A, const& a)) const
0016     {
0017         typedef typename detail::dependent<object, A0>::type obj;
0018         U const& self = *static_cast<U const*>(this);
0019         return call<obj>(get_managed_object(self, tag), BOOST_PP_ENUM_PARAMS_Z(1, N, a));
0020     }
0021 
0022 #  undef N
0023 # endif // BOOST_PYTHON_SYNOPSIS