[Bug c++/17453] G++ type conversion bug

froloff at os2 dot ru gcc-bugzilla@gcc.gnu.org
Mon Sep 13 12:16:00 GMT 2004


------- Additional Comments From froloff at os2 dot ru  2004-09-13 12:15 -------
(In reply to comment #1)
> There is no reason why you should be able to cast an iterator to a pointer. msc
> v7.0 must use a "pure pointer" as iterators while g++ doesn't. This isn't a bug.

I didn't wait that it convert iterator to pointer by simple assignment, co I add
cast manually, and didn't saw any reaon why G++ can cast it.
So How I can read a number of vector elements? Or You propose to read it into
temp array of chars and the make assignment manually?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17453



More information about the Gcc-bugs mailing list