Using the C++20 [[assume]] attribute, which GCC and Clang support in C++17 mode too. This may help the compiler generate slightly better code, avoiding the need to check if the size is negative or overflows. I've also marked count() and length() as constexpr. Change-Id: Ida6c9a7ba67574a952f3fffd44dea52a0e0e61c2 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%