Core types¶
-
using
code_point= char32_t¶ Many algorithms in ogonek operate on sequences of code points. The sequences themselves can have any type, but their elements must be code points.
code_pointis the type used to represent code points. It is an alias for the standard C++char32_ttype.All
code_pointarguments in Ogonek are required to be valid, i.e. in the range [0..10FFFF16]; otherwise the behaviour is undefined. The results of Ogonek functions never includecode_pointvalues outside this range.
-
using
byte= std::uint8_t¶ Encoding schemes and some encoding forms take input or produce output in the form of bytes or sequences of bytes. The type used to represent bytes in ogonek is called
byte, an alias for the standard C++uint8_ttype.