[Bug libstdc++/43014] map [] behaviour is inconsistent

2010-02-10 Thread gcc_bugzilla dot 20 dot marcelitom at inboxclean dot com
--- 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 . I wrongly assumed that it was using it to copy the pointed string to the map, but I learned from your first post that it was only

[Bug libstdc++/43014] map [] behaviour is inconsistent

2010-02-09 Thread gcc_bugzilla dot 20 dot marcelitom at inboxclean dot com
--- 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 =

[Bug c++/43014] New: map [] behaviour is inconsistent

2010-02-09 Thread gcc_bugzilla dot 20 dot marcelitom at inboxclean dot com
nu --target=i486-linux-gnu Thread model: posix gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) -- Summary: map [] behaviour is inconsistent Product: gcc Version: unknown 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