Home | History | Annotate | Download | only in include

Lines Matching refs:ByRef

676 // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
678 struct ByRef { typedef const T& type; }; // NOLINT
680 struct ByRef<T&> { typedef T& type; }; // NOLINT
682 // A handy wrapper for ByRef.
683 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type