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

... 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 November 25, 2014 17:35
@brendanzab
Copy link
Sponsor Contributor

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

@mbrubeck
Copy link
Contributor

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

@brendanzab
Copy link
Sponsor Contributor

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

@SimonSapin
Copy link
Member Author

Yes, I believe so.

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

Successfully merging this pull request may close these issues.

3 participants