[C++-sig] Re: using user-defined metaclasses with boost.pytho n

David Abrahams dave at boost-consulting.com
Tue Sep 7 23:18:24 CEST 2004


Stefan Seefeld <sseefeld at art.ca> writes:

>> From: David Abrahams [mailto:dave at boost-consulting.com]
>> Sent: September 7, 2004 15:30
>
>> I don't understand what you mean by "inject it."  Do you want to
>> control the metaclass of the classes wrapped with Boost.Python, or
>> only some classes derived from wrapped classes in Python?
>
> Sorry for not being clear. I'm wondering whether it is possible
> to derive from boost.python's metaclass to influence class (instance)
> generation of wrapper classes themselfs. Is that possible at all ?

Conceivably it's possible, but it would require changes to the C++
code of Boost.Python.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com




More information about the Cplusplus-sig mailing list