Re: [Boost-bugs] [Boost C++ Libraries] #2222: Make images & views model Collection concept.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2222: Make images & views model Collection concept.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-08-29 14:30:15


#2222: Make images & views model Collection concept.
-------------------------------+----------------------------
  Reporter: john.femiani@… | Owner: Stefan Seefeld
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: gil USE GITHUB
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by Mateusz Loskot):

 I believe, this condition

 {{{
 129 ///\brief Returns true if the view has no elements, false
 otherwise.
 130 ///
 131 ///\note Required by concept
 132 ///
 http://www.boost.org/doc/libs/1_35_0/libs/utility/Collection.html
 133 bool empty() const
 134 {
 135 return width() > 0 && height() > 0;
 136 }
 }}}

 should read

 {{{
 return !(width() > 0 && height() > 0);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/2222#comment:5>
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 : 2018-08-29 14:38:18 UTC