[libcxx-commits] [PATCH] D100369: [libc++] [P0458] Add map::contains and set::contains for heterogenous lookup missed in a17b1aed.

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 13 01:46:24 PDT 2021


curdeius added inline comments.


================
Comment at: libcxx/include/map:1419
+    _LIBCPP_INLINE_VISIBILITY
+        typename enable_if<__is_transparent<_Compare, _K2>::value, bool>::type
+        contains(const _K2& __k) const {
----------------
Hmmm, just looking at other files and wondering. Should I use `_EnableIf`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100369/new/

https://reviews.llvm.org/D100369



More information about the libcxx-commits mailing list