Missed a typename
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@225408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
674e07d3c8
commit
c7e395f338
@ -34,8 +34,8 @@ void
|
||||
test()
|
||||
{
|
||||
typedef std::hash<T> H;
|
||||
static_assert((std::is_same<H::argument_type, T>::value), "" );
|
||||
static_assert((std::is_same<H::result_type, std::size_t>::value), "" );
|
||||
static_assert((std::is_same<typename H::argument_type, T>::value), "" );
|
||||
static_assert((std::is_same<typename H::result_type, std::size_t>::value), "" );
|
||||
typedef typename std::underlying_type<T>::type under_type;
|
||||
|
||||
H h1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user