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
+10 -10
View File
@@ -31,17 +31,17 @@ using namespace units::data;
// information
static_assert(1q_B == 8q_b);
static_assert(1024q_b == 1q_Kib);
static_assert(1024q_B == 1q_KiB);
static_assert(8 * 1024q_b == 1q_KiB);
static_assert(8 * 1q_Kib == 1q_KiB);
static_assert(1_q_B == 8_q_b);
static_assert(1024_q_b == 1_q_Kib);
static_assert(1024_q_B == 1_q_KiB);
static_assert(8 * 1024_q_b == 1_q_KiB);
static_assert(8 * 1_q_Kib == 1_q_KiB);
static_assert(1q_Kib == 1024q_b);
static_assert(1q_Mib == 1024q_Kib);
static_assert(1q_Gib == 1024q_Mib);
static_assert(1q_Tib == 1024q_Gib);
static_assert(1q_Pib == 1024q_Tib);
static_assert(1_q_Kib == 1024_q_b);
static_assert(1_q_Mib == 1024_q_Kib);
static_assert(1_q_Gib == 1024_q_Mib);
static_assert(1_q_Tib == 1024_q_Gib);
static_assert(1_q_Pib == 1024_q_Tib);
// bitrate