GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::sortable(3) C++ Standard Libary std::sortable(3)

std::sortable - std::sortable


Defined in header <iterator>
template< class I, class Comp = ranges::less, class Proj =
std::identity >


concept sortable = (since C++20)
std::permutable<I> &&


std::indirect_strict_weak_order<Comp, std::projected<I, Proj>>;


The sortable concept specifies the requirements for algorithms that permute a range
into an ordered range according to Comp.


Semantic requirements


std::sortable<I, Comp, Proj> is modeled only if all concepts it subsumes are
modeled.


ranges::sort sorts a range into ascending order
(C++20) (niebloid)
ranges::stable_sort sorts a range of elements while preserving order between
(C++20) equal elements
(niebloid)
ranges::partial_sort sorts the first N elements of a range
(C++20) (niebloid)
ranges::nth_element partially sorts the given range making sure that it is
(C++20) partitioned by the given element
(niebloid)
ranges::inplace_merge merges two ordered ranges in-place
(C++20) (niebloid)
ranges::push_heap adds an element to a max heap
(C++20) (niebloid)
ranges::pop_heap removes the largest element from a max heap
(C++20) (niebloid)
ranges::make_heap creates a max heap out of a range of elements
(C++20) (niebloid)
ranges::sort_heap turns a max heap into a range of elements sorted in
(C++20) ascending order
(niebloid)
ranges::next_permutation generates the next greater lexicographic permutation of a
(C++20) range of elements
(niebloid)
ranges::prev_permutation generates the next smaller lexicographic permutation of a
(C++20) range of elements
(niebloid)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.