remove a custom implementation of std::is_reference

This commit is contained in:
Krystian Kuzniarek
2019-08-14 13:33:13 +02:00
parent 90a443f9c2
commit da76d01b98
5 changed files with 6 additions and 16 deletions

View File

@@ -512,12 +512,6 @@ TEST(TypeTraitsTest, false_type) {
EXPECT_FALSE(false_type::value);
}
TEST(TypeTraitsTest, is_reference) {
EXPECT_FALSE(is_reference<int>::value);
EXPECT_FALSE(is_reference<char*>::value);
EXPECT_TRUE(is_reference<const int&>::value);
}
TEST(TypeTraitsTest, type_equals) {
EXPECT_FALSE((type_equals<int, const int>::value));
EXPECT_FALSE((type_equals<int, int&>::value));