Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • As far as I know non-copyable objects are not good to use at all in stl containers as they rely on value semantics - what happens if you want to sort that container? sort does copy elements... Commented Oct 21, 2009 at 9:07
  • C++0x containers will be changed so that it respects move-only types like unique_ptr, and sort will be changed likewise too. Commented Oct 21, 2009 at 14:30
  • Do you remember where you first heard the term SBRM? James is trying to track it down. Commented Jul 22, 2010 at 19:34
  • which headers or libraries should I include to use these? any further readings on this? Commented May 13, 2011 at 12:11
  • One advice here: if there is an answer to a C++ question by @litb, it is the right answer (no matter the votes or the answer flagged as "correct")... Commented Mar 20, 2015 at 9:18