Safe comparisons in C++20 -- Bartlomiej Filipek
Mixing integer types... what could go wrong? And how to make it go right?
Safe comparisons in C++20
by Bartlomiej Filipek
From the article:
Sometimes, If you mix different integer types in an expression, you might end up with tricky cases...