Searched refs:type_equals (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc530 TEST(TypeTraitsTest, type_equals) {
531 EXPECT_FALSE((type_equals<int, const int>::value));
532 EXPECT_FALSE((type_equals<int, int&>::value));
533 EXPECT_FALSE((type_equals<int, double>::value));
534 EXPECT_TRUE((type_equals<char, char>::value));
538 EXPECT_TRUE((type_equals<char, remove_reference<char&>::type>::value));
539 EXPECT_TRUE((type_equals<const int,
541 EXPECT_TRUE((type_equals<int, remove_reference<int>::type>::value));
542 EXPECT_TRUE((type_equals<double*, remove_reference<double*>::type>::value));
/gem5/ext/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h343 // type_equals<T1, T2>::value is non-zero iff T1 and T2 are the same type.
344 template <typename T1, typename T2> struct type_equals : public false_type {}; struct in namespace:testing::internal
345 template <typename T> struct type_equals<T, T> : public true_type {}; struct in namespace:testing::internal
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h1639 *os << (internal::type_equals<Result, void>::value ?

Completed in 16 milliseconds