Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Std/Stl/Algorithms/Modifying/Removing

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

The std::remove() algorithm doesn't actually remove any items. Instead, it shifts the items-to-be-removed to the end of the collection. You need to call the collection class' item-removal function in order to complete the removal process. Additional information about algorithms for the removal of items