
5 Oct
2013
5 Oct
'13
11:38 p.m.
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. Larry