Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
6aba4a5c
Commit
6aba4a5c
authored
Aug 15, 2019
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2382 from kuzkry:dead-metafunction
PiperOrigin-RevId: 263416977
parents
c16f5705
d51cce4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
gtest-type-util.h
googletest/include/gtest/internal/gtest-type-util.h
+0
-12
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 @
6aba4a5c
...
...
@@ -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
...
...
googletest/include/gtest/internal/gtest-type-util.h.pump
View file @
6aba4a5c
...
...
@@ -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
...
...
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