carb::toupper
Defined in carb/Defines.h
-
constexpr unsigned char carb::toupper(unsigned char c)
A fast table-based implementation of std::toupper 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 upper case.
- Returns
The upper-case letter of
c
ifc
is a lower-case letter;c
otherwise.