[Boost-bugs] [Boost C++ Libraries] #4643: Does array operator== behave as excpected

Subject: [Boost-bugs] [Boost C++ Libraries] #4643: Does array operator== behave as excpected
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-10 19:49:09


#4643: Does array operator== behave as excpected
----------------------------------+-----------------------------------------
 Reporter: pontus.ekh@… | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: array
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 this is the body of method operator==:

 return std::equal(x.begin(), x.end(), y.begin());

 If x is of size n doesn't this just compare if y's first n elements are
 equal to n. What if y is bigger than x? Is this really the expected
 behavior?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4643>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC