[libcxx-commits] [libcxx] [libc++] Optimize most of the __tree search algorithms (PR #155245)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 28 08:52:29 PDT 2025
================
@@ -702,6 +703,41 @@ public:
# endif
};
+# if _LIBCPP_STD_VER >= 14
+template <class _CP, class _Key, class _Compare>
----------------
ldionne wrote:
I am not sure what `_CP` stands for, but I find it confusing. I'd suggest renaming to something more telling, like `_MapValueType`, which makes it clear that we're operating on a `value_type == pair<key_type const, mapped_type>`.
https://github.com/llvm/llvm-project/pull/155245
More information about the libcxx-commits
mailing list