[Bug libstdc++/41803] Compiler forcing iterator to const

2009-10-22 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-10-22 23:21 --- *** This bug has been marked as a duplicate of 14410 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug libstdc++/41803] Compiler forcing iterator to const

2009-10-22 Thread chris at bubblescope dot net
--- Comment #4 from chris at bubblescope dot net 2009-10-22 23:14 --- The reason that in general changing the Point a std::multiset::iterator refers to is forbidden is that doing so will break the invariant on which the multiset is based, resulting in random crashes occuring later on. T

[Bug libstdc++/41803] Compiler forcing iterator to const

2009-10-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-22 22:56 --- Looks like a bug in multiset: typedef typename _Rep_type::iterator const_iterator; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added