toUpper overloads

Synopses

Declared in <bdlb_string.h>

Replace all lower case characters in the specified string having the optionally specified length with their upper‐case equivalent. The behavior is undefined unless 0 <= length (if specified) and string‐>size() <= INT_MAX (if applicable).

static
void
toUpper(char* string);

Replace lower case characters in the specified string with upper‐case equivalents.

static
void
toUpper(bsl::string* string);

Replace lower case characters in the specified string with upper‐case equivalents.

static
void
toUpper(std::pmr::string* string);

Replace lower case characters in the specified string with upper‐case equivalents.

static
void
toUpper(std::string* string);

Replace lower case characters in string with upper‐case equivalents.

static
void
toUpper(
    char* string,
    int length);

Created with MrDocs