Talk:Rule of three (C++ programming)
![]() | Computing Stub‑class Low‑importance ![]() | ||||||||||||
|
![]() | C/C++ Unassessed Low‑importance | |||||||||
|
Disambiguation
- One of the references says Op. cit. - but which of the two others is meant?
- copy assignment operator = copy constructor?
--Abdull (talk) 23:24, 29 February 2008 (UTC)
- I've attempted to WP:DAB the citation and I've updated Assignment operator in C++ to distinguish it from the copy constructor. -- DanielPenfield (talk) 19:03, 2 March 2008 (UTC)
Singleton?
In my opinion the singleton design pattern isn't relevant here, the rule of three is meant to prevent bugs of oversight and not enforcing semantics (such as "only one" singleton).
Additionally as far as I know a private destructor is not part of the singleton pattern. Motti (talk) 19:34, 7 September 2009 (UTC)
- Agreed. It's two separate (but related) concepts. What they have in common is that they represent two situations where the implicitly generated special member functions are undesired, but for different reasons. decltype (talk) 09:36, 8 September 2009 (UTC)
Marshall Cline
Please consider discussing the linking of Marshall Cline instead of edit-warring. decltype
(talk) 13:56, 29 June 2010 (UTC)
What is the point of linking to a non-existent entry? It adds absolutely nothing to anyone reading this entry. Once there is a Marshall Cline entry by all means link to it but until it exists a dead link is only distracting. Motti (talk) 10:47, 30 June 2010 (UTC)