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.
1 parent 9ddcbc5 commit b5a7bdaCopy full SHA for b5a7bda
include/lsst/cpputils/tests.h
@@ -84,7 +84,7 @@ constexpr void assertValidHash() {
84
static_assert(is_same<typename Hash::result_type, size_t>::value,
85
"std::hash must have a result_type member until C++20");
86
// Ability to call Hash(T) hard to test before C++17
87
- static_assert(is_same<result_of_t<Hash(T)>, size_t>::value,
+ static_assert(is_same<std::invoke_result_t<Hash, T>, size_t>::value,
88
"std::hash specializations must be callable and return a size_t");
89
}
90
0 commit comments