Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.89.0.
boost::sort::spreadsort::spreadsort — Generic spreadsort variant detecting integer-type elements so call to integer_sort.
// In header: <boost/sort/spreadsort/spreadsort.hpp> template<typename RandomAccessIter> boost::enable_if_c< std::numeric_limits< typenamestd::iterator_traits< RandomAccessIter >::value_type >::is_integer, void >::type spreadsort(RandomAccessIter first, RandomAccessIter last);
If the data type provided is an integer, integer_sort is used.
![]() |
Note |
|---|---|
Sorting other data types requires picking between |
Parameters: |
|
||||
Requires: |
[ |
||||
Requires: |
|
||||
Requires: |
|
||||
Requires: |
|
||||
Postconditions: |
The elements in the range [ |