Photon Common Library 2.0.0-beta
A physically based renderer.
|
Variables | |
constexpr std::string_view | common_whitespaces = " \n\r\t" |
Commonly used whitespace characters. | |
constexpr std::string_view | standard_whitespaces = " \n\r\t\v\f" |
Standard whitespace characters. | |
constexpr std::array< unsigned char, 256 > | ASCII_TO_UPPER |
constexpr std::array< unsigned char, 256 > | ASCII_TO_LOWER |
constexpr std::array< unsigned char, 62 > | BASE62_DIGITS |
|
inlineconstexpr |
Table for mapping standard ASCII character codes to lower case, i.e., A~Z are mapped to a~z (a~z are also mapped to a~z itself, so a case check can be eliminated). Any other codes will be left unchanged.
|
inlineconstexpr |
Table for mapping standard ASCII character codes to upper case, i.e., a~z are mapped to A~Z (A~Z are also mapped to A~Z itself, so a case check can be eliminated). Any other codes will be left unchanged.
|
inlineconstexpr |
|
inlineconstexpr |
Commonly used whitespace characters.
Ordered from high frequency to low frequency (approximated).
|
inlineconstexpr |
Standard whitespace characters.
Should idealy contain characters ch
that satisfy std::isspace(ch) == true
.