Re: [Boost-bugs] [Boost C++ Libraries] #2752: Wrong size check in bounded_array::resize

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2752: Wrong size check in bounded_array::resize
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-12 17:35:19


#2752: Wrong size check in bounded_array::resize
--------------------------------------------+-------------------------------
  Reporter: Ulf Olin <ulf.olin_at_[hidden]> | Owner: guwi17
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: uBLAS
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+-------------------------------

Comment(by steven_watanabe):

 How can the size be larger than N?

 It should be okay to set the size equal to N, because
 there is storage for N elements, right?
 If size is greater than N, then it will be caught by
 the BOOST_UBLAS_CHECK.

 What am I missing?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2752#comment:1>
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:49:59 UTC