This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]