[libcxx-commits] [PATCH] D59344: Add contains method to map types
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 13 20:34:00 PDT 2019
zoecarver created this revision.
zoecarver added reviewers: mclow.lists, howard.hinnant.
Herald added subscribers: libcxx-commits, jdoerfert, ldionne.
Implements P0458R2 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0458r2.html>, adding `contains` to `map`, `multimap`, `unordered_map`, `unordered_multimap`, `set`, `multiset`, `unordered_set`, and (finally) `unordered_multiset`.
My editor messed up the spacing when I originally made this patch so let me know if you find any weird white space.
This patch is the predecessor to P0920R2 which I can submit once this one has been reviewed.
Repository:
rCXX libc++
https://reviews.llvm.org/D59344
Files:
include/map
include/set
include/unordered_map
include/unordered_set
test/std/containers/contains.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59344.190561.patch
Type: text/x-patch
Size: 16240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190314/8a8c0c3e/attachment-0001.bin>
More information about the libcxx-commits
mailing list