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
3bd41ab2
Commit
3bd41ab2
authored
Mar 11, 2021
by
Abseil Team
Committed by
Andy Soffer
Mar 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internal change
PiperOrigin-RevId: 362216935
parent
d0dbf0f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gtest-internal.h
googletest/include/gtest/internal/gtest-internal.h
+4
-4
No files found.
googletest/include/gtest/internal/gtest-internal.h
View file @
3bd41ab2
...
@@ -895,16 +895,16 @@ template <typename T>
...
@@ -895,16 +895,16 @@ template <typename T>
class
HasDebugStringAndShortDebugString
{
class
HasDebugStringAndShortDebugString
{
private
:
private
:
template
<
typename
C
>
template
<
typename
C
>
static
constexpr
auto
CheckDebugString
(
C
*
)
->
typename
std
::
is_same
<
static
auto
CheckDebugString
(
C
*
)
->
typename
std
::
is_same
<
std
::
string
,
decltype
(
std
::
declval
<
const
C
>
().
DebugString
())
>::
type
;
std
::
string
,
decltype
(
std
::
declval
<
const
C
>
().
DebugString
())
>::
type
;
template
<
typename
>
template
<
typename
>
static
constexpr
std
::
false_type
CheckDebugString
(...);
static
std
::
false_type
CheckDebugString
(...);
template
<
typename
C
>
template
<
typename
C
>
static
constexpr
auto
CheckShortDebugString
(
C
*
)
->
typename
std
::
is_same
<
static
auto
CheckShortDebugString
(
C
*
)
->
typename
std
::
is_same
<
std
::
string
,
decltype
(
std
::
declval
<
const
C
>
().
ShortDebugString
())
>::
type
;
std
::
string
,
decltype
(
std
::
declval
<
const
C
>
().
ShortDebugString
())
>::
type
;
template
<
typename
>
template
<
typename
>
static
constexpr
std
::
false_type
CheckShortDebugString
(...);
static
std
::
false_type
CheckShortDebugString
(...);
using
HasDebugStringType
=
decltype
(
CheckDebugString
<
T
>
(
nullptr
));
using
HasDebugStringType
=
decltype
(
CheckDebugString
<
T
>
(
nullptr
));
using
HasShortDebugStringType
=
decltype
(
CheckShortDebugString
<
T
>
(
nullptr
));
using
HasShortDebugStringType
=
decltype
(
CheckShortDebugString
<
T
>
(
nullptr
));
...
...
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