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
The pmt::cast function can do implicit cast between std::string and arithmetic types. We should not have any implicit conversions. Also it might be better to overload the cast operator for pmts, so that the user can write static_cast<float>(mypmt) rather than pmt::cast<float>(mypmt).
The text was updated successfully, but these errors were encountered:
The
pmt::cast
function can do implicit cast betweenstd::string
and arithmetic types. We should not have any implicit conversions. Also it might be better to overload the cast operator for pmts, so that the user can writestatic_cast<float>(mypmt)
rather thanpmt::cast<float>(mypmt)
.The text was updated successfully, but these errors were encountered: