From 1cbe285841e073f4e7c685662c74bb6cf5be934b Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 1 Nov 2018 17:45:41 -0700 Subject: [PATCH] Fix bug in is_sorted docs; thanks to Tony E for the report: https://github.com/boostorg/algorithm/issues/54 --- doc/ordered-hpp.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ordered-hpp.qbk b/doc/ordered-hpp.qbk index 9e860d4..bc8c1a4 100644 --- a/doc/ordered-hpp.qbk +++ b/doc/ordered-hpp.qbk @@ -15,7 +15,7 @@ http://www.boost.org/LICENSE_1_0.txt) The header file `` 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 {