Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation is lacking on PrintTo requirements #2611

Open
fkorsa opened this issue Nov 28, 2019 · 0 comments
Open

Documentation is lacking on PrintTo requirements #2611

fkorsa opened this issue Nov 28, 2019 · 0 comments

Comments

@fkorsa
Copy link

@fkorsa fkorsa commented Nov 28, 2019

The structure of PrintTo requires users to make their custom overload of PrintTo be viewable from all the translation units where the custom type is printed using googletest.

See https://stackoverflow.com/a/36941270/4213607

This should be written explicitly in the documentation, I think in that section: https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#teaching-googletest-how-to-print-your-values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.