16 #ifndef INCLUDE_NN_NLIB_UNICODE_STRINGPREP_H_ 17 #define INCLUDE_NN_NLIB_UNICODE_STRINGPREP_H_ 41 return utf32 < 0x0020 || utf32 == 0x007F;
48 return utf32 >= 0xD800 && utf32 <= 0xDFFF;
51 return utf32 >= 0xFFF9 && utf32 <= 0xFFFD;
54 return utf32 >= 0x2FF0 && utf32 <= 0x2FFB;
58 return utf32 == 0xE0001 || (utf32 >= 0xE0020 && utf32 <= 0xE007F);
67 #endif // INCLUDE_NN_NLIB_UNICODE_STRINGPREP_H_ static constexpr bool InTableC9(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.9 (Tagging characters).
Implements various tables defined in RFC3454.
Data structure to store mapping results from StringPrep.
static constexpr bool InTableC11(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.1.1 (ASCII space characters).
size_t n
Number of characters stored in StringPrepMapResult::code.
#define NLIB_NOEXCEPT
Defines noexcept geared to the environment, or the equivalent.
#define NLIB_CEXPR
Defines constexpr if it is available for use. If not, holds an empty string.
A file that contains the configuration information for each development environment.
static constexpr bool InTableC5(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.5 (Surrogate codes). ...
static constexpr bool InTableC6(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.6 (Inappropriate for plain text)...
#define NLIB_FINAL
Defines final if it is available for use. If not, holds an empty string.
static constexpr bool InTableC21(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.2.1 (ASCII control characters).
static constexpr bool InTableC7(uint32_t utf32) noexcept
Determines whether the character is described in RFC 3454, C.7 (Inappropriate for canonical represent...