[C++-sig] Raw constructor (i.e. combination of make_constructor and raw_function)
Hans Meine
hans_meine at gmx.net
Mon Aug 22 15:11:02 CEST 2005
On Monday 22 August 2005 14:20, Hans Meine wrote:
> I am currently compiling 1.33.0 in order not to blame myself in that
> respect.
OK, just FYI, I tried your proposed initVectorValue() approach with 1.33.0,
too - both with void and MyVector& as return types, with the same results.
I am looking forward to further pointers. :-/
> For now, I would be happy with a C++ resize(), but I need a workaround for
> the raw_function constructor. The real motivation is that I want to pickle
> my vector objects, and AFAICS I need the constructor for this. So far, I
> just exported the beforementioned createVector() factor function as a
> module function to python and used that for creating my objects, but how
> should pickle know that?
Ciao, / /
/--/
/ / ANS
More information about the Cplusplus-sig
mailing list