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

Add operator<< to many classes #2394

Merged
merged 3 commits into from
Dec 7, 2019
Merged

Add operator<< to many classes #2394

merged 3 commits into from
Dec 7, 2019

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Dec 7, 2019

Fix #2391.

return out << w << " "
<< Sign(x) << " " << unsigned_debug_string(x) << " i "
<< Sign(y) << " " << unsigned_debug_string(y) << " j "
<< Sign(z) << " " << unsigned_debug_string(z) << " k";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fancy!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I started to hate the + -.

@eggrobin eggrobin added the LGTM label Dec 7, 2019
@pleroy pleroy merged commit 14c4e55 into mockingbirdnest:master Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The classes in geometry need an operator<<
2 participants