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

/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h695 struct RemoveReference { typedef T type; }; // NOLINT struct in namespace:testing::internal
697 struct RemoveReference<T&> { typedef T type; }; // NOLINT struct in namespace:testing::internal
699 // A handy wrapper around RemoveReference that works when the argument
702 typename ::testing::internal::RemoveReference<T>::type
/ndk/sources/third_party/googletest/googletest/test/
H A Dgtest_unittest.cc271 using testing::internal::RemoveReference;
7102 // Tests that RemoveReference does not affect non-reference types.
7104 CompileAssertTypesEqual<int, RemoveReference<int>::type>();
7105 CompileAssertTypesEqual<const char, RemoveReference<const char>::type>();
7108 // Tests that RemoveReference removes reference from reference types.
7110 CompileAssertTypesEqual<int, RemoveReference<int&>::type>();
7111 CompileAssertTypesEqual<const char, RemoveReference<const char&>::type>();

Completed in 152 milliseconds