You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This overload participates in overload resolution only if no overflow is induced in the conversion, and any of the following conditions is satisfied:...
So, it will compile fine if I change our TimePoint::period to nanoseconds (b/c 10^9 divisible by 10^6 without reminder), BUT it fails to compile if I try use milliseconds (b/c (10^3 % 10^6) != 0) - this is the case when you have to use the explicit duration_cast, kinda being ok with potential precision loss. @thirtytwobits Could you please confirm, that this is exactly (as I suppose you tried milliseconds) what you have encountered?
We need to search for all places in the code that do this:
and replace them with this:
The text was updated successfully, but these errors were encountered: