Skip to content

Commit

Permalink
Merge pull request #2382 from kuzkry:dead-metafunction
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 263416977
  • Loading branch information
gennadiycivil committed Aug 15, 2019
2 parents 1edb169 + d51cce4 commit 4a9f8dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions googletest/include/gtest/internal/gtest-type-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,6 @@ std::string GetTypeName() {

#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P

// AssertyTypeEq<T1, T2>::type is defined if T1 and T2 are the same
// type. This can be used as a compile-time assertion to ensure that
// two types are equal.

template <typename T1, typename T2>
struct AssertTypeEq;

template <typename T>
struct AssertTypeEq<T, T> {
typedef bool type;
};

// A unique type used as the default value for the arguments of class
// template Types. This allows us to simulate variadic templates
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
Expand Down
12 changes: 0 additions & 12 deletions googletest/include/gtest/internal/gtest-type-util.h.pump
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,6 @@ std::string GetTypeName() {

#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P

// AssertyTypeEq<T1, T2>::type is defined if T1 and T2 are the same
// type. This can be used as a compile-time assertion to ensure that
// two types are equal.

template <typename T1, typename T2>
struct AssertTypeEq;

template <typename T>
struct AssertTypeEq<T, T> {
typedef bool type;
};

// A unique type used as the default value for the arguments of class
// template Types. This allows us to simulate variadic templates
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
Expand Down

0 comments on commit 4a9f8dc

Please sign in to comment.