1- /*
1+ /*
22 Copyright 2008 Adobe Systems Incorporated
33
44 Distributed under the Boost Software License, Version 1.0. (See accompanying
@@ -84,7 +84,7 @@ namespace boost { namespace algorithm {
8484template <
8585 typename BidirectionalIterator, // models BidirectionalIterator
8686 typename Pred> // models UnaryPredicate
87- std::pair<BidirectionalIterator, BidirectionalIterator> gather
87+ std::pair<BidirectionalIterator, BidirectionalIterator> gather
8888 ( BidirectionalIterator first, BidirectionalIterator last, BidirectionalIterator pivot, Pred pred )
8989{
9090// The first call partitions everything up to (but not including) the pivot element,
@@ -106,11 +106,11 @@ template <
106106 typename BidirectionalRange, //
107107 typename Pred> // Pred models UnaryPredicate
108108std::pair<
109- typename boost::range_iterator<const BidirectionalRange>::type,
110- typename boost::range_iterator<const BidirectionalRange>::type>
109+ typename boost::range_iterator<BidirectionalRange>::type,
110+ typename boost::range_iterator<BidirectionalRange>::type>
111111gather (
112- const BidirectionalRange &range,
113- typename boost::range_iterator<const BidirectionalRange>::type pivot,
112+ BidirectionalRange &range,
113+ typename boost::range_iterator<BidirectionalRange>::type pivot,
114114 Pred pred )
115115{
116116 return boost::algorithm::gather ( boost::begin ( range ), boost::end ( range ), pivot, pred );
0 commit comments