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:
Mateusz Pusz
2020-09-09 19:20:35 +02:00
parent 2b408f19c0
commit 9527b39005
130 changed files with 2221 additions and 2235 deletions
+1 -1
View File
@@ -33,5 +33,5 @@ constexpr Speed auto avg_speed(Length auto d, Time auto t)
int main()
{
using namespace units::physical::si::literals;
std::cout << "Average speed = " << avg_speed(240.q_km, 2q_h) << '\n';
std::cout << "Average speed = " << avg_speed(240._q_km, 2_q_h) << '\n';
}