Searched refs:RemoveReference (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h782 struct RemoveReference { typedef T type; }; // NOLINT struct in namespace:testing::internal
784 struct RemoveReference<T&> { typedef T type; }; // NOLINT struct in namespace:testing::internal
786 // A handy wrapper around RemoveReference that works when the argument
789 typename ::testing::internal::RemoveReference<T>::type
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc273 using testing::internal::RemoveReference;
7383 // Tests that RemoveReference does not affect non-reference types.
7385 CompileAssertTypesEqual<int, RemoveReference<int>::type>();
7386 CompileAssertTypesEqual<const char, RemoveReference<const char>::type>();
7389 // Tests that RemoveReference removes reference from reference types.
7391 CompileAssertTypesEqual<int, RemoveReference<int&>::type>();
7392 CompileAssertTypesEqual<const char, RemoveReference<const char&>::type>();

Completed in 33 milliseconds