Changes between Version 1 and Version 2 of Ticket #5959
- Timestamp:
- May 12, 2015, 10:16:12 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5959
- Property Type defect → enhancement
-
Ticket #5959 – Description
v1 v2 10 10 11 11 If you don't want to implement the copy constructor, should at least mark it as delete (C++11) or make it private to prevent developers of making mistakes by calling it. 12 13 As a matter of fact, I think we need [http://en.wikipedia.org/wiki/Rule_of_three_%28C%2B%2B_programming%29 Rule of 5] to make it safe to use.