[Bug libstdc++/39416] std::map::operator[] inserts a new item in RHS context

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 9 21:29:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-03-09 21:28 -------
It is hard for the library to know if we are doing an insert or doing an
extract as there is only one type of operator[] really.


-- 


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



More information about the Gcc-bugs mailing list