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

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

The std::sort() algorithm uses a predicate callable-object for all of its internal comparisons between two items. That predicate defaults to std::less<>(). Additional information about reordering algorithms (includes interactive examples)