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

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


#4643: Does array operator== behave as excpected
-----------------------------------+----------------------------------------
  Reporter: pontus.ekh@… | Owner: no-maintainer
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: array
   Version: Boost 1.44.0 | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------

Comment (by marshall):

 Just adding a comment here (in case someone is wondering down the road):
 The operator == compares two arrays of the same size.

 {{{
     template<class T, std::size_t N>
     bool operator== (const array<T,N>& x, const array<T,N>& y) {
         return std::equal(x.begin(), x.end(), y.begin());
     }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4643#comment:2>
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