[Bug c++/17639] ++ increment not working in std::string.insert

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 23 20:54:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 20:54 -------
The code you posted is undefined, you are modifing i and also getting the value of i without a sequence 
point inbetween them.

*** This bug has been marked as a duplicate of 11751 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
            Summary|++ increment not working in |++ increment not working in
                   |std::string.insert          |std::string.insert


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



More information about the Gcc-bugs mailing list