You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both map::insert_or_assign 23.4.4.4[map.modifiers]p5 and unordered_map::insert_or_assign 23.5.4.4[unord.map.modifiers]p7 refer to undefined name "args" in their Effects: clauses. This appears to be an editorial mistake made in n4279 when applying one of the several changes this interface went through.
I believe
"constructed from the arguments as value_type(k, std::forward<Args>(args)...)" should be changed to "constructed from the arguments as value_type(k, std::forward<M>(obj))" as it was in n3873 to begin with, and the same for the std::move(k) versions.
The text was updated successfully, but these errors were encountered:
Thanks! I've already been alerted to this problem recently and an issue is underway. The one you mentioned is just a simple editorial error; there's a more serious one in try_emplace, where the effect should really read:
Both
map::insert_or_assign
23.4.4.4[map.modifiers]p5 andunordered_map::insert_or_assign
23.5.4.4[unord.map.modifiers]p7 refer to undefined name "args" in their Effects: clauses. This appears to be an editorial mistake made in n4279 when applying one of the several changes this interface went through.I believe
"constructed from the arguments as
value_type(k, std::forward<Args>(args)...)
" should be changed to "constructed from the arguments asvalue_type(k, std::forward<M>(obj))
" as it was in n3873 to begin with, and the same for thestd::move(k)
versions.The text was updated successfully, but these errors were encountered: