Is this comment correct? #4521
Replies: 3 comments
-
The
|
Beta Was this translation helpful? Give feedback.
-
Yes |
Beta Was this translation helpful? Give feedback.
-
The
|
Beta Was this translation helpful? Give feedback.
-
Yes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My question regards
::testing::internal::EqHelper::Compare
function and the comment added to it.In
std::enable_if
we're clearly checking if the first type isn't equal to integral type or second type isn't equal to pointer type.However, the comment above says that we're disabling an overload when one argument is a pointer and the other is the null pointer constant - so:
Beta Was this translation helpful? Give feedback.
All reactions