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/Copying

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

If you have an appropriate callable-object, then copying can be conditional, with item-by-item testing of that condition: std::copy_if(src.begin(),src.end(),desti.begin(),IsOdd). Additional information about copying algorithms (includes interactive examples)