flat_map iterators are not const in the key |
||
Issue descriptionThe flat_map (and thus flat_tree) iterators should probably hand the user a const key as mutating the key will likely invalidate internal invariants.
,
May 19 2017
What sort of obvious use cases did it break?
,
May 19 2017
If I recall it was something like the constructors in the unit tests that do foo = { {1, 2}, {3, 4} }.
|
||
►
Sign in to add a comment |
||
Comment 1 by brettw@chromium.org
, May 18 2017