[libcxx-commits] [PATCH] D59344: Add contains method to map types
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 13 22:28:36 PDT 2019
mclow.lists added a comment.
We don't usually gang tests for multiple containers together - one/container is more common,
================
Comment at: include/map:198
size_type count(const key_type& k) const;
+
+ bool contains(const key_type& x) const;
----------------
Add a comment to the synopsis indicating that this is a C++20 feature: `// C++20`
Repository:
rCXX libc++
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59344/new/
https://reviews.llvm.org/D59344
More information about the libcxx-commits
mailing list