/usr/include/boost/python
Edit: /usr/include/boost/python/signature.hpp (7579B)
///////////////////////////////////////////////////////////////////////////////
//
// Copyright David Abrahams 2002.
// Copyright Joel de Guzman, 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
///////////////////////////////////////////////////////////////////////////////
#if !defined(BOOST_PP_IS_ITERATING)
# ifndef SIGNATURE_JDG20020813_HPP
# define SIGNATURE_JDG20020813_HPP
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# define BOOST_PYTHON_LIST_INC(n) \
BOOST_PP_CAT(mpl::vector, BOOST_PP_INC(n))
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace python { namespace detail {
// A metafunction returning C1 if C1 is derived from C2, and C2
// otherwise
template
struct most_derived
{
typedef typename mpl::if_<
detail::is_convertible
, C1
, C2
>::type type;
};
// The following macros generate expansions for::
//
// template
// inline mpl::vector