Will you use it?
Safe Comparisons of Integrals with C++20
by Rainer Grimm
From the article:
When you compare signed and unsigned integers, you may not get the result you expect. Thanks to the six std::cmp_* functions, there is a cure in C++20...
Add a Comment
Comments are closed.