forked from boostorg/algorithm
fix range-base gather algorithm
This commit is contained in:
@ -106,11 +106,11 @@ template <
|
|||||||
typename BidirectionalRange, //
|
typename BidirectionalRange, //
|
||||||
typename Pred> // Pred models UnaryPredicate
|
typename Pred> // Pred models UnaryPredicate
|
||||||
std::pair<
|
std::pair<
|
||||||
typename boost::range_iterator<const BidirectionalRange>::type,
|
typename boost::range_iterator<BidirectionalRange>::type,
|
||||||
typename boost::range_iterator<const BidirectionalRange>::type>
|
typename boost::range_iterator<BidirectionalRange>::type>
|
||||||
gather (
|
gather (
|
||||||
const BidirectionalRange &range,
|
BidirectionalRange &range,
|
||||||
typename boost::range_iterator<const BidirectionalRange>::type pivot,
|
typename boost::range_iterator<BidirectionalRange>::type pivot,
|
||||||
Pred pred )
|
Pred pred )
|
||||||
{
|
{
|
||||||
return boost::algorithm::gather ( boost::begin ( range ), boost::end ( range ), pivot, pred );
|
return boost::algorithm::gather ( boost::begin ( range ), boost::end ( range ), pivot, pred );
|
||||||
|
Reference in New Issue
Block a user