Boost logo

Boost Users :

Subject: Re: [Boost-users] Doc error?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-10-05 21:25:18


On Oct 5, 2013, at 4:38 PM, Larry <lknain_at_[hidden]> wrote:

> In the doc (1.54.0) for algorithms under C++14, the first code segment under both equal and mismatch, the last line (for equal here) shows
>
> std::equal ( seq1.begin (), seq1.end (), seq1.begin (), seq2.end ()); // false
>
> ^^^^^^
>
> Shouldn’t that be
>
>
> std::equal ( seq1.begin (), seq1.end (), seq2.begin (), seq2.end ()); // false
>
> ^^^^^^
>
> Similar for mismatch.

Yes, it should. :-(

Thanks for the catch - fixed in trunk
I will merge to release post-beta

-- 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