C++ Complementary Library
Converts the given string to a std::string.
The string to convert to std::string.
Converts the given string to a std::u16string.
The string to convert to std::u16string.
Converts the given string to a std::u32string.
The string to convert to std::u32string.
Converts the given string to a std::u8string.
The string to convert to std::u8string.
Converts the given string to a std::wstring.
The string to convert to std::wstring.
Converts the given string to the requested string type.
The string to convert.
Returns the number of characters in the given string.
The string to get the size of.
Returns the number of characters in the given string.
The string to get the size of.
Returns the number of characters in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns the number of code units in the given string.
The string to get the size of.
Returns true if the content string ends with the contents of substring.
The string to look at the end of.
The substring to look for.
Returns true if the content string 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.
The string to validate.
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. Otherwise, returns false.
The code point to examine.
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.
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 bool 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 integer value. The input string is expected to conform to the given integer format. If it doesn't, a parse_failed exception is thrown.
Copyright © 2022-2025 Daniel T. McGinnis