Boost logo

Boost Users :

Subject: Re: [Boost-users] [string.algo] find_iterator, gives compile error in Boost 1.53
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-02-06 10:11:24


On Feb 6, 2013, at 1:24 AM, gast128 <gast128_at_[hidden]> wrote:

> Marshall Clow <mclow.lists <at> gmail.com> writes:
>
>> Please open a trac ticket at svn.boost.org, with example code.
>
> Ticket #7989. Trac has nuked my example though (i.e. it has translated '//') :(

Thank you!
That was what I thought the problem was (from your description), but now I'm sure.

I'm having some problems with the test suite, so I haven't checked in a fix, but if you want to patch your copy locally, changing line 138 of boost/algorithm/string/find_iiterator.hpp
from: m_Match=this->do_find(m_Match.begin()+1,m_End);
to: m_Match=this->do_find(++m_Match.begin(),m_End);

_should_ fix the problem

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net