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

Improve to to use exact type as given by the user #50

Merged
merged 3 commits into from
Jul 11, 2024
Merged

Conversation

Vindaar
Copy link
Member

@Vindaar Vindaar commented Jul 11, 2024

This is to guarantee the property x.to(T) is T always holds. This is needed in Measuremancer's FloatLike concept.

Vindaar added 3 commits July 11, 2024 16:32
Here we better don't want to touch the type ourselves either!

This is especially important to keep the property:

x.to(T) is T

(which is used in Measuremancer for example)
@Vindaar Vindaar merged commit 3513e81 into master Jul 11, 2024
12 of 18 checks passed
@Vindaar
Copy link
Member Author

Vindaar commented Jul 11, 2024

I guess OSX is still a problem, merging already.

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.

1 participant