mirror of
https://github.com/boostorg/algorithm.git
synced 2025-05-12 14:11:40 +00:00
Fix bug in is_sorted docs; thanks to Tony E for the report: https://github.com/boostorg/algorithm/issues/54
This commit is contained in:
parent
b6c04d6dc5
commit
1cbe285841
@ -15,7 +15,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
The header file `<boost/algorithm/cxx11/is_sorted.hpp>` contains functions for determining if a sequence is ordered.
|
||||
|
||||
[heading is_sorted]
|
||||
The function `is_sorted(sequence)` determines whether or not a sequence is completely sorted according so some criteria. If no comparison predicate is specified, then std::less_equal is used (i.e, the test is to see if the sequence is non-decreasing)
|
||||
The function `is_sorted(sequence)` determines whether or not a sequence is completely sorted according so some criteria. If no comparison predicate is specified, then `std::less` is used (i.e, the test is to see if the sequence is non-decreasing)
|
||||
|
||||
``
|
||||
namespace boost { namespace algorithm {
|
||||
|
Loading…
x
Reference in New Issue
Block a user