merges, gtest

This commit is contained in:
Gennadiy Civil
2018-03-26 13:04:28 -04:00
parent 6aae206bc2
commit 3df7cbe6f7
4 changed files with 19 additions and 13 deletions

View File

@@ -1434,6 +1434,8 @@ template <typename T>
const T& move(const T& t) {
return t;
}
template <typename T>
GTEST_ADD_REFERENCE_(T) forward(GTEST_ADD_REFERENCE_(T) t) { return t; }
template <typename T>
struct RvalueRef {
@@ -2338,6 +2340,7 @@ struct is_same : public false_type {};
template <typename T>
struct is_same<T, T> : public true_type {};
template <typename T>
struct is_pointer : public false_type {};
@@ -2349,6 +2352,7 @@ struct IteratorTraits {
typedef typename Iterator::value_type value_type;
};
template <typename T>
struct IteratorTraits<T*> {
typedef T value_type;