Re: [Boost-bugs] [Boost C++ Libraries] #9518: string_ref::rfind return value offset

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9518: string_ref::rfind return value offset
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-05 14:14:04


#9518: string_ref::rfind return value offset
-------------------------------------+---------------------------
  Reporter: Peter A. Bigot <pab@…> | Owner: no-maintainer
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: utility
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+---------------------------

Comment (by denis.martinez@…):

 My dev team has hit this bug a few times. It would be really great to have
 the proposed fix applied, sadly there doesn't seem to be any activity for
 a bit of time.

 This bug remains present in the 1.61.0 release of Boost.

 {{{
 boost::string_ref("abcdefg").rfind("cde") -> 4
 std::string("abcdefg").rfind("cde") -> 2
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9518#comment:9>
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