Jump to content

Talk:Rule of three (C++ programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Decltype (talk | contribs) at 13:56, 29 June 2010 (Marshall Cline: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Stub‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Note icon
This article has been automatically rated by a bot or other tool as Stub-class because it uses a stub template. Please ensure the assessment is correct before removing the |auto= parameter.
WikiProject iconC/C++ Unassessed Low‑importance
WikiProject iconThis article is within the scope of WikiProject C/C++, a collaborative effort to improve the coverage of C and C++ topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the importance scale.

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)[reply]

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)[reply]

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)[reply]

Marshall Cline

Please consider discussing the linking of Marshall Cline instead of edit-warring. decltype (talk) 13:56, 29 June 2010 (UTC)[reply]