ToLower overloads

Synopses

Declared in <util/strencodings.h>

Converts the given character to its lowercase equivalent. This function is locale independent. It only converts uppercase characters in the standard 7‐bit ASCII range. This is a feature, not a limitation.

constexpr
char
ToLower(char c);

Returns the lowercase equivalent of the given string. This function is locale independent. It only converts uppercase characters in the standard 7‐bit ASCII range. This is a feature, not a limitation.

std::string
ToLower(std::string_view str);

Return Value

  • the lowercase equivalent of c; or the argument if no conversion is possible.

  • lowercased equivalent of str

Parameters

Name

Description

c [in]

the character to convert to lowercase.

str [in]

the string to convert to lowercase.

Created with MrDocs