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
Check in numeric_cast will never throw, as after the cast to the TargetType the value will never be greater than the maximum of the TargetType:
if (static_cast(value) >
std::numeric_limits::max())
{
throw std::overflow_error("Cannot convert ");
}
The text was updated successfully, but these errors were encountered:
Check in numeric_cast will never throw, as after the cast to the TargetType the value will never be greater than the maximum of the TargetType:
if (static_cast(value) >
std::numeric_limits::max())
{
throw std::overflow_error("Cannot convert ");
}
The text was updated successfully, but these errors were encountered: