[C++-sig] pyplusplus: Feature requests

Roman Yakovenko roman.yakovenko at gmail.com
Mon Feb 27 15:13:50 CET 2006


On 2/27/06, Nat Goodspeed <ngoodspeed at solidworks.com> wrote:
> > -----Original Message-----
> > From: c++-sig-bounces at python.org [mailto:c++-sig-bounces at python.org]
> On
> > Behalf Of Matthias Baas
> > Sent: Sunday, February 26, 2006 7:58 AM
> > To: c++-sig at python.org
> > Subject: [C++-sig] pyplusplus: Feature requests
> >
> > - Copy constructors don't get wrapped
>
> [Nat] ? Under what circumstances should Python code invoke a C++
> object's copy constructor? In Python, objects are passed around by
> reference! I must not understand what you're requesting.

When you want to create a copy of object. You can use copy module of
Python of course,
but I think using copy constructor of class is nicer.


--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list