C++ Complementary Library
Converts the given string to a std::string.
Converts the given string to a std::u16string.
Converts the given string to a std::u16string.
Converts the given string to a std::u32string.
Converts the given string to a std::u32string.
Converts the given string to a std::u8string.
Converts the given string to a std::u8string.
Converts the given string to the requested Unicode string type.
Formats the given bool value with the given bool format and returns the formatted string.
Formats the given floating point value with the given floating point format and returns the formatted string.
Formats the given integer value with the given integer format and returns the formatted string.
Inserts the given code point into the given string at the given index.
The code point to insert.
The index of the string at which to insert the code point.
Inserts the given code point into the given string at the given index.
The code point to insert.
The index of the string at which to insert the code point.
Inserts the given code point into the given string at the given index.
The code point to insert.
The index of the string at which to insert the code point.
Parses the input string and returns the corresponding boolean value. The input string is expected to conform to the given bool format. If it doesn't, a parse_failed exception is thrown.
Parses the input string and returns the corresponding floating point value. The input string is expected to conform to the given floating point format. If it doesn't, a parse_failed exception is thrown.
Parses the input string and returns the corresponding integer value. The input string is expected to conform to the given integer format. If it doesn't, a parse_failed exception is thrown.
Returns the number of characters in the given string.
Returns the number of characters in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns the number of code units in the given string.
Returns true if the content strings ends with the contents of substring.
The string to look at the end of.
The substring to look for.
Returns true if the content strings starts with the contents of substring.
The string to look at the start of.
The substring to look for.
Validates the given string and returns a by_code_point constant iterator just past the last valid code point, which is the end iterator if the entire string is valid.
Returns true if the given UTF-16 code unit is a surrogate. Otherwise, returns false.
The UTF-16 code unit to examine.
Returns true if the given UTF-16 code unit is a leading surrogate (meaning the first code unit of a surrogate pair). Otherwise, returns false.
The UTF-16 code unit to examine.
Returns true if the given UTF-16 code unit is a trailing surrogate (meaning the last code unit of a surrogate pair). Otherwise, returns false.
The UTF-16 code unit to examine.
Returns true if the given UTF-8 code unit is a leading byte (meaning that it marks the beginning of a sequence of code units). Otherwise, returns false.
The UTF-8 code unit to examine.
Returns true if the given UTF-8 code unit is a trailing byte (meaning that it follows a leading byte). Otherwise, returns false.
The UTF-8 code unit to examine.
Returns true if the given UTF-8 code unit is standalone (meaning that it stands on its own and is not part of a sequence of code units). Otherwise, returns false.
The UTF-8 code unit to examine.
Returns true if the given character represents a digit in the number system with the given radix. Otherwise, returns false. For example, '7' is a valid base-8 digit, 'F' is a valid base-16 digit, 'G' is a valid base-17 digit, and so on.
The character (code point) to examine.
The radix to consider.
Returns true if the given code point is valid. Otherwise, returns false.
The code point to examine.
Returns true if the given code point fits in 7 bits. Otherwise, returns false.
The code point to examine.
Returns true if the given code point represents a whitespace character, and false if it does not.
The code point to examine.
Copyright © 2022-2025 Daniel T. McGinnis