[C++-sig] How can I wrap assign operator(=) in Boost::Python?

Steve Yin steve at chinavfx.net
Wed Jan 16 05:14:48 CET 2008


Hi all,
    I'm a new guy to this, I have a class, eg: Vector, by default, If I 
create a variable v1, then use v2 = v1, the result is v2 and v1 are exact 
same object, but in C++ I have a assign operator, How can I export this 
assign operator to Python? 





More information about the Cplusplus-sig mailing list