[Boost-bugs] [Boost C++ Libraries] #1234: unbounded_array copy constructor does not compile with intel v 9.1

Subject: [Boost-bugs] [Boost C++ Libraries] #1234: unbounded_array copy constructor does not compile with intel v 9.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-07 08:16:47


#1234: unbounded_array copy constructor does not compile with intel v 9.1
-------------------------------+--------------------------------------------
 Reporter: heibel_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: uBLAS | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-------------------------------+--------------------------------------------
 Hi there,

 I just happened to stumble over a small issue when trying to compile
 ublas::unbounded_array with the Intel Compiler v9.1.

 A small example:

 {{{

 typedef boost::numeric::ublas::vector<float,
 boost::numeric::ublas::row_major,
 boost::numeric::ublas::unbounded_array<float, 4> > Vector4;

 Vector4 a;
 Vector4 b(a); // does not compile.
 }}}


 The problem is that the template parameters for std::copy operation within
 the unbounded_array can not be deduced. The first one is 'const float[4]',
 the second one is 'const float*' and the third one is 'float[4]'. By
 changing the _data access to using the provided iterator methods
 everything is working fine.

 Regards,
 Hauke

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1234>
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:56 UTC