From: Giuseppe Ottaviano (giuott_at_[hidden])
Date: 2007-04-13 12:39:58
I have the base class types of a given class in an MPL sequence (a
mpl::vector). I have to expose this class via Boost.Python, passing a
bases<...> argument to the class_ declaration.
For example, if I have mpl::vector<A, B> I should pass bases<A, B>.
Is there a way to convert a generic MPL sequence to a bases<> sequence?
I haven't found an easy way to do it (push_back<> on bases<> doesn't
return a bases<> type, so boost::python::detail::specifies_bases<>
-- Giuseppe Ottaviano <giuott_at_[hidden]>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk