From ef388661b3f976bd35c10c3af30524d4e44ffe09 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Mon, 3 Mar 2014 18:36:01 +0000 Subject: [PATCH] trac 8927 - added comment about std::partition requirements pre C++11. --- doc/reference/algorithm/partition.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/algorithm/partition.qbk b/doc/reference/algorithm/partition.qbk index 8ae28e5..a97a893 100644 --- a/doc/reference/algorithm/partition.qbk +++ b/doc/reference/algorithm/partition.qbk @@ -50,7 +50,7 @@ Defined in the header file `boost/range/algorithm/partition.hpp` [heading Requirements] -* `ForwardRange` is a model of the __forward_range__ Concept. +* `ForwardRange` is a model of the __forward_range__ Concept. For C++ versions prior to C++11 the underlying std::partition requires Bidirectional Iterators, hence the requirement for older library versions is for a __bidirectional_range__. * `UnaryPredicate` is a model of the `PredicateConcept`. * `ForwardRange`'s value type is convertible to `UnaryPredicate`'s argument type.