--- Comment #8 from gcc_bugzilla dot 20 dot marcelitom at inboxclean dot
com 2010-02-10 21:23 ---
Thanks Paolo. I did understand that map was passing a const char *. I wrongly
assumed that it was using it to copy the pointed string to the map, but I
learned from your first post
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc_bugzilla dot 20 dot marcelitom at inboxclean dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43014
--- Comment #5 from gcc_bugzilla dot 20 dot marcelitom at inboxclean dot
com 2010-02-10 04:00 ---
Thanks Andrew and Paolo, apologies for my mistake. I have learnt something.
According to what you wrote, a seemingly natural code like
for(;;) {
sElement = SomeString