forked from mpusz/mp-units
All UDLs are now prefixed with q_
This commit is contained in:
@@ -31,5 +31,5 @@ constexpr units::Velocity AUTO avg_speed(units::Length AUTO d, units::Time AUTO
|
||||
int main()
|
||||
{
|
||||
using namespace units::si::literals;
|
||||
std::cout << "Average speed = " << avg_speed(240.km, 2h) << '\n';
|
||||
std::cout << "Average speed = " << avg_speed(240.q_km, 2q_h) << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user