[C++-sig] Newcomer - constructors not working as I'd expect

David Abrahams dave at boost-consulting.com
Mon Apr 10 02:17:22 CEST 2006


Andrew Pontzen <app26 at ast.cam.ac.uk> writes:

> I am using boost.python (from boost package 1_33_1) to expose some C++ 
> classes. I have a problem with constructors - here is a simple test case:

I can't see anything wrong with your code.  It's admittedly pretty
simple, but could you try to reduce it further?  It seems as though if
it's broken as is, you could remove one level of inheritance at least,
without changing anything.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list