xte ::uppercase ()
Defined in header <xte/data/uppercase.hpp> Converts a single character or every character of a range to its uppercase representation.
Definitions
#0[[nodiscard ]]constexpr char uppercase (char c )noexcept ;
#1
[[nodiscard ]]constexpr xte ::string uppercase (xte ::string_view string )noexcept (false );
#2
Requires thattemplate <std ::range ::input_range Range > [[nodiscard ]]constexpr Range uppercase (Range range )noexcept (/* ... */ );
Range is a range of char s and is mutable.Example
[View in Compiler Explorer]static_assert (xte ::uppercase ("HeLlO, wOrLd!" ) =="HELLO, WORLD!" );