[Boost-bugs] [Boost C++ Libraries] #6683: find family of functions needs const Range1T& Input overloads

Subject: [Boost-bugs] [Boost C++ Libraries] #6683: find family of functions needs const Range1T& Input overloads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-13 14:16:05


#6683: find family of functions needs const Range1T& Input overloads
-------------------------------+--------------------------------------------
 Reporter: sairony@… | Owner: marshall
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------
 It's cumbersome to have to create named temporaries when searching using
 these functions. I presume the reason for why Input isn't const is due to
 the fact that iterator_range<> that's returned can modify Input. In the
 spirit of std & the rest of boost I propose an overload which returns
 const_iterator_range<>, which would provide the same functionality as
 iterator_range<> save for being able to modify the source.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6683>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC