forked from mpusz/mp-units
refactor: 💥 q_* UDL renamed to _q_*
We had some fun exploring the STD UDLs for potential collisions, we have learnt our lesson and know how to proceed. Now is high time to start behaving and obeying C++ rules.
This commit is contained in:
@@ -381,7 +381,7 @@ unknown/undefined unit type like in the below example::
|
||||
|
||||
using namespace units::physical::si::literals;
|
||||
|
||||
Length auto l = 100q_km_per_h * 10q_s;
|
||||
Length auto l = 100_q_km_per_h * 10_q_s;
|
||||
|
||||
The type of ``l`` above will be
|
||||
:expr:`si::length<scaled_unit<ratio(1, 36, 1), si::metre>, long double>`. This is caused
|
||||
|
||||
Reference in New Issue
Block a user