Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
d51cce4f
Commit
d51cce4f
authored
Aug 08, 2019
by
Krystian Kuzniarek
Browse files
remove a dead metafunction
parent
f64f7bd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
googletest/include/gtest/internal/gtest-type-util.h
googletest/include/gtest/internal/gtest-type-util.h
+0
-12
googletest/include/gtest/internal/gtest-type-util.h.pump
googletest/include/gtest/internal/gtest-type-util.h.pump
+0
-12
No files found.
googletest/include/gtest/internal/gtest-type-util.h
View file @
d51cce4f
...
@@ -105,18 +105,6 @@ std::string GetTypeName() {
...
@@ -105,18 +105,6 @@ std::string GetTypeName() {
#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
#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
// A unique type used as the default value for the arguments of class
// template Types. This allows us to simulate variadic templates
// template Types. This allows us to simulate variadic templates
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
...
...
googletest/include/gtest/internal/gtest-type-util.h.pump
View file @
d51cce4f
...
@@ -104,18 +104,6 @@ std::string GetTypeName() {
...
@@ -104,18 +104,6 @@ std::string GetTypeName() {
#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
#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
// A unique type used as the default value for the arguments of class
// template Types. This allows us to simulate variadic templates
// template Types. This allows us to simulate variadic templates
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
// (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment