#include #include TEST(Meta, Contains) { struct C0 {}; struct C1 {}; struct C2 {}; struct C3 {}; using listAll = EC::Meta::TypeList; int size = listAll::size; EXPECT_EQ(size, 4); bool result = EC::Meta::Contains::value; EXPECT_TRUE(result); result = EC::Meta::Contains::value; EXPECT_TRUE(result); result = EC::Meta::Contains::value; EXPECT_TRUE(result); result = EC::Meta::Contains::value; EXPECT_TRUE(result); using listSome = EC::Meta::TypeList; size = listSome::size; EXPECT_EQ(size, 2); result = EC::Meta::Contains::value; EXPECT_FALSE(result); result = EC::Meta::Contains::value; EXPECT_TRUE(result); result = EC::Meta::Contains::value; EXPECT_FALSE(result); result = EC::Meta::Contains::value; EXPECT_TRUE(result); }