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:
1 parent
2b408f19c0
commit
9527b39005
130 files changed
+2221
-2235
No files matched your search
@@ -31,8 +31,8 @@ using namespace units::physical::si::literals;
|
||||
|
||||
int main()
|
||||
{
|
||||
auto torque = 20.0q_Nm;
|
||||
auto energy = 20.0q_J;
|
||||
auto torque = 20.0_q_Nm;
|
||||
auto energy = 20.0_q_J;
|
||||
|
||||
physical::Angle auto angle = torque / energy;
|
||||
|
||||
|
||||
Reference in new issue
Block a user