Fixed errors with Variable Length Arrays (issue #416)

This commit is contained in:
Benoit Blanchon committed 2017-01-15 15:11:26 +01:00
1 parent 11432253a1
commit 8499f0b960
15 files changed
+822 -165

No files matched your search

+6
View File
@@ -15,3 +15,9 @@ TEST(StdStream, IsBaseOf) {
ASSERT_FALSE((IsBaseOf<std::istream, std::ostringstream>::value));
ASSERT_TRUE((IsBaseOf<std::istream, std::istringstream>::value));
}
TEST(StdStream, IsArray) {
ASSERT_FALSE((IsArray<const char*>::value));
ASSERT_TRUE((IsArray<const char[]>::value));
ASSERT_TRUE((IsArray<const char[10]>::value));
}