Re: [Boost-bugs] [Boost C++ Libraries] #4443: Bounded vector constructor missing explicit and an initialization version

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4443: Bounded vector constructor missing explicit and an initialization version
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-11 19:15:09


#4443: Bounded vector constructor missing explicit and an initialization version
-------------------------------------------------+--------------------------
  Reporter: Jesse Perla <jesseperla@…> | Owner: guwi17
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: uBLAS
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by Jesse Perla <jesseperla@…>):

 I have been porting some of my code to GCC and may have made a mistake on
 here. the value_type is not available here, so it should be added as a
 typdef in the bounded_vector class:

                 typedef typename vector_type::value_type value_type;

 Also, gcc didn't like my begin() and end() in the constructor with fill,
 so try adding a this->begin() and this->end() instead. I am not sure the
 best way to do this.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4443#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:50:04 UTC