[libcxx-commits] [libcxx] [libc++] Implement part of P2562R1: constexpr `std::inplace_merge` (PR #129008)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 9 21:21:49 PDT 2025
================
@@ -41,14 +41,17 @@ struct binary_counting_predicate {
typedef Arg2 second_argument_type;
typedef bool result_type;
- binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {}
- ~binary_counting_predicate() {}
+ TEST_CONSTEXPR_CXX20 binary_counting_predicate(Predicate p) : p_(p), count_(0) {}
+ TEST_CONSTEXPR_CXX20 ~binary_counting_predicate() {}
----------------
frederick-vs-ja wrote:
I'm switching to use implicit declared destructor, which is also defaulted and possibly trivial in C++03.
https://github.com/llvm/llvm-project/pull/129008
More information about the libcxx-commits
mailing list