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

Implement `Point2D + Size2D -> Point2D`, now that we have multi-dispatch #56

Merged
merged 1 commit into from Nov 25, 2014

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Nov 21, 2014

... in addition to the existing Point2D + Point2D -> Point2D.

... in addition to the existing `Point2D + Point2D -> Point2D`.
mbrubeck added a commit that referenced this pull request Nov 25, 2014
Implement `Point2D + Size2D -> Point2D`, now that we have multi-dispatch
@mbrubeck mbrubeck merged commit 95e7461 into master Nov 25, 2014
@SimonSapin SimonSapin deleted the point+size branch Nov 25, 2014
@brendanzab
Copy link
Member

brendanzab commented Nov 25, 2014

What does "now that we have multi-dispatch" mean? How does this work without breaking like it used to?

@mbrubeck
Copy link
Contributor

mbrubeck commented Nov 25, 2014

Previously it was broken by rust-lang/rust#7590 which was recently fixed by rust-lang/rust#17669.

@brendanzab
Copy link
Member

brendanzab commented Nov 26, 2014

Does this obviate the need for the double-dispatch trick employed in nalgebra? cc. @sebcrozet

@SimonSapin
Copy link
Member Author

SimonSapin commented Nov 26, 2014

Yes, I believe so.

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

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.