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

It is not aways possible to overide the operator << to get printing. #20

Closed
bogado opened this issue Oct 12, 2016 · 2 comments
Closed

Comments

@bogado
Copy link

bogado commented Oct 12, 2016

Sometimes there's a need to print an object on a different manner than the one used by default. Or you may need more detailed information on the output than you need on you usual operator <<. I would add a secondary way of teaching snowhouse how to print custom classes.

@sbeyer
Copy link
Member

sbeyer commented Nov 26, 2016

Hi @bogado, I think your problem can be solved using Stringizers (see, for example, stringize_test.cpp, WithoutStreamOperatorButWithStringizer).

@bogado
Copy link
Author

bogado commented Nov 26, 2016 via email

@sbeyer sbeyer assigned sbeyer and unassigned sbeyer Feb 4, 2017
@sbeyer sbeyer added this to the 3.0 Release milestone Feb 4, 2017
@sbeyer sbeyer closed this as completed in 0333bc2 Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants