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.
typename
1 parent 7f06fa2 commit 6a93adfCopy full SHA for 6a93adf
libcxx/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp
@@ -26,8 +26,8 @@ template <class VB>
26
TEST_CONSTEXPR_CXX20 void test() {
27
typedef std::hash<VB> H;
28
#if TEST_STD_VER <= 14
29
- static_assert((std::is_same<H::argument_type, VB>::value), "");
30
- static_assert((std::is_same<H::result_type, std::size_t>::value), "");
+ static_assert((std::is_same<typename H::argument_type, VB>::value), "");
+ static_assert((std::is_same<typename H::result_type, std::size_t>::value), "");
31
#endif
32
ASSERT_NOEXCEPT(H()(VB()));
33
0 commit comments