[PATCH] Part 1 of N4279 - "Improved insertion interface for unique-key maps"
Marshall Clow
mclow.lists at gmail.com
Fri Jun 26 13:32:27 PDT 2015
================
Comment at: include/map:1138
@@ +1137,3 @@
+ else
+ return emplace_hint(__p,
+ _VSTD::piecewise_construct, _VSTD::forward_as_tuple(__k),
----------------
I think this should be `__h`, not `__p`, since `__p == end()`
================
Comment at: include/map:1151
@@ +1150,3 @@
+ else
+ return emplace_hint(__p,
+ _VSTD::piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__k)),
----------------
Same as #1138
http://reviews.llvm.org/D10669
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list