Boost logo

Boost Users :

Subject: [Boost-users] Doc error?
From: Larry (lknain_at_[hidden])
Date: 2013-10-05 19:38:30


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



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