Replies: 1 comment 1 reply
-
|
This question is conflating two issues. The first issue is defining The second question is why is the |
Beta Was this translation helpful? Give feedback.
-
|
This question is conflating two issues. The first issue is defining The second question is why is the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The new
AbslStringify()API suggests that one should declare afriendfunction namedAbslStringifyto make it stringifyable. But is thefriendqualifier necessary? It would be nice to stringify code that we don't own (e.g., from another library that doesn't want to take on Abseil as a dependency).The EnumWithStringify test suggests that the friend qualifier it not necessary. Is there any requirement for
friendif the function were declared out of line and didn't need access to protected or private members?Beta Was this translation helpful? Give feedback.
All reactions