You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brigand/test/identity.cpp

7 lines
272 B
C++

#include <brigand/functions/arithmetic/identity.hpp>
#include <type_traits>
static_assert( std::is_same<int**&&, brigand::identity<int**&&>::type>::value, "invalid identity");
static_assert( std::is_same<void, brigand::identity<void>::type>::value, "invalid identity");