
6 Oct
2013
6 Oct
'13
1:25 a.m.
On Oct 5, 2013, at 4:38 PM, Larry
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@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki