Skip to content

Fix chrono operator/(duration, duration)#556

Open
mtnpke wants to merge 2 commits intoelectronicarts:masterfrom
mtnpke:fix-chrono-div
Open

Fix chrono operator/(duration, duration)#556
mtnpke wants to merge 2 commits intoelectronicarts:masterfrom
mtnpke:fix-chrono-div

Conversation

@mtnpke
Copy link
Copy Markdown
Contributor

@mtnpke mtnpke commented Jan 28, 2025

See #554 and #555. They have to both be fixed in order to write a useful test.

The (duration, number) overloads of operator/ and operator%
shall not participate in overload resolution if Rep2 is a duration.

Fixes electronicarts#555.
Dividing two durations shall yield a dimensionless number and not a
duration.

Fixes electronicarts#554.
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