absl::ascii_toupper

Returns the ASCII character, converting to upper-case if lower-case is passed. Note that characters values > 127 are simply returned.

Synopsis

Declared in <absl/strings/ascii.h>

char
ascii_toupper(unsigned char c);

Return Value

The uppercase equivalent of c, or c if it has no uppercase form.

Parameters

NameDescription
cThe character to convert.