absl::AsciiStrToUpper

Creates an uppercase string from a given std::string&&.

Synopsis

Declared in <absl/strings/ascii.h>

template<int& DoNotSpecify...>
[[nodiscard]]
std::string
AsciiStrToUpper(std::string&& s);

Description

(Template is used to lower priority of this overload.)

Return Value

A new uppercase string.

NOTE

The return value should not be discarded.

Parameters

NameDescription
sThe source string to convert.