carb::tolower
Defined in carb/Defines.h
-
constexpr unsigned char carb::tolower(unsigned char c)
A fast table-based implementation of std::tolower for ASCII characters only.
Warning
This function does not work on Unicode characters and is not locale-aware; it is ASCII only.
- Parameters
c – The character to change to lower case.
- Returns
The lower-case letter of
c
ifc
is an upper-case letter;c
otherwise.