Neal Becker <ndbecker2 <at> gmail.com> writes:

> 
> Gennadiy Rozental wrote:
> 
> > This looks like trivial question from FAQ, but I can seem to fond the
> > answer.
> > 
> > Any pointers?
> > 
> > Genandiy
> 
> Maybe overide __copy__?


How is it involved? Here is an example:

bp::object o = foo();

// Here i want to make deep copy of o
// bp::object o_copy = o is not correct
// what I need is something like:

bp::object o_copy = bp::deep_copy( o )

Gennadiy

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to