[Bug libstdc++/17453] G++ type conversion bug
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 13:24:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-09-13 13:24 -------
Gcc doesn't do the conversion because the standard doesn't specifically
say it has to be able to. Our implementation uses some optimizations
that don't allow this simple conversion, because our iterations aren't
just pointers.
The solution to your problem is to either do an element-wise copy, or
if you are adventurous, use
&*vec.begin();
to get the address of the first element.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c++ |libstdc++
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17453
More information about the Gcc-bugs
mailing list