We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transparent_less_nonempty
1 parent 00e4c6d commit b187fdfCopy full SHA for b187fdf
libcxx/test/support/is_transparent.h
@@ -40,10 +40,8 @@ struct transparent_less_not_referenceable
40
// See https://github.com/llvm/llvm-project/issues/152543.
41
struct transparent_less_nonempty {
42
template <class T, class U>
43
- constexpr auto operator()(T&& t, U&& u) const //
44
- noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) //
45
- -> decltype /**/ (std::forward<T>(t) < std::forward<U>(u)) {
46
- return /*--------*/ std::forward<T>(t) < std::forward<U>(u);
+ constexpr bool operator()(T&& t, U&& u) const {
+ return std::forward<T>(t) < std::forward<U>(u);
47
}
48
struct is_transparent {
49
} pad_; // making this comparator non-empty
0 commit comments