[libc++] Make __debug_less::operator() constexpr
authorThomas Anderson <thomasanderson@google.com>
Fri, 19 Apr 2019 00:52:54 +0000 (00:52 +0000)
committerThomas Anderson <thomasanderson@google.com>
Fri, 19 Apr 2019 00:52:54 +0000 (00:52 +0000)
commit6ab51de08e7c6b1dae8875bd5fb70354100e1116
treee283e0b479ca1a1d74d62322950e61bcbb23e10b
parent5377748d54632760712bc1911ccf36bfc618efdf
[libc++] Make __debug_less::operator() constexpr

This is a followup to [1] which added a new `__debug_less::operator()` overload.
[2] added `_LIBCPP_CONSTEXPR_AFTER_CXX17` to the original
`__debug_less::operator()` between the time of writing [1] and landing it.  This
change adds `_LIBCPP_CONSTEXPR_AFTER_CXX17` to the new overload too.

[1] https://reviews.llvm.org/rL358423
[2] https://reviews.llvm.org/rL358252

Differential Revision: https://reviews.llvm.org/D60724

llvm-svn: 358725
libcxx/include/algorithm
libcxx/test/libcxx/algorithms/debug_less.pass.cpp