meta: Detection idiom (part 1) from Walter Brown added
This commit is contained in:
@@ -160,9 +160,9 @@ namespace test_meta {
|
||||
}
|
||||
|
||||
/*
|
||||
* Test void
|
||||
* Test void_t
|
||||
*/
|
||||
TEST(Tmeta_void, VoidType) {
|
||||
TEST(Tmeta, VoidType) {
|
||||
struct Foo {};
|
||||
struct Bar {};
|
||||
EXPECT_EQ(true, (std::is_same<void, void_t<int, long, Foo, Bar>>()));
|
||||
|
||||
Reference in New Issue
Block a user