note 119886 rejected from language.oop5.cloning by cmb
| From: | cmb@php.net | Date: | Wed, 14 Sep 2016 16:05:05 +0000 |
| Subject: | note 119886 rejected from language.oop5.cloning by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206590@lists.php.net to get a copy of this message | ||
Note Submitter: Pwensel at gmail dot com
----
A good example of the need for copy constructors, is if you have an object which represents a
GTK window and the object holds the resource of this GTK window, when you create a duplicate you
might want to create a new window with the same properties and have the new object hold the resource
of the new window
Official documentation shouldn't have commas that cause aneurysms.