[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Subclassing a Qt non-QObject class
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2019-05-10 15:38:36
Message-ID: 51b91a7aadb98669cb737cc885385961 () riverbankcomputing ! com
[Download RAW message or body]

On 10/05/2019 10:53, Wallboy wrote:
> Interesting. I wish I remembered all the details of the C++ rules about 
> when
> objects are copied when I worked with the language some ~10 years ago.
> 
> I looked at the source for the QNetworkCookieJar on the methods where
> cookies get added, and did not see where a copy of the QNetworkCookie 
> is
> happening. Is there an implicit copy happening? Isn't passing by const
> reference supposed to avoid copying?

An assignment is a copy.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic