[Boost-bugs] [Boost C++ Libraries] #12552: Change of the interface of Searching Algorithms breaks client code

Subject: [Boost-bugs] [Boost C++ Libraries] #12552: Change of the interface of Searching Algorithms breaks client code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-26 05:48:23


#12552: Change of the interface of Searching Algorithms breaks client code
------------------------------+-------------------------
 Reporter: tusk.kun@… | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.62.0 | Severity: Showstopper
 Keywords: |
------------------------------+-------------------------
 I am using Boyer-Moore Search from the Algorithm component. The change of
 search functions interface introduced by this commit
 https://github.com/boostorg/algorithm/commit/205f5ff4bbb00ece289892089a6c94c975e97ca2
 broke my code. Because now search functions return pair of iterators
 instead of one iterator. Documentations does not reflect these chenges:
 http://www.boost.org/doc/libs/1_62_0/libs/algorithm/doc/html/algorithm/Searching.html#the_boost_algorithm_library.Searching.BoyerMoore

 Please explain why are you making changes which are not backward
 compatible and break users code?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12552>
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:20 UTC