[PATCH] D28131: [libcxx] Fix PR31402: map::__find_equal_key has undefined behavior.
Marshall Clow via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 5 09:26:02 PST 2017
mclow.lists added inline comments.
================
Comment at: include/__tree:1400
__parent_pointer& __parent, const key_type& __v);
+ // FIXME: Make this function const qualified. Unfortunetly doing so
+ // breaks existing code which uses non-const callable comparators.
----------------
Didn't we address this in http://wg21.link/LWG2542 ?
https://reviews.llvm.org/D28131
More information about the cfe-commits
mailing list