mrdocs::toUpperCase

toUpperCase overloads

Synopses

Declared in <mrdocs/Support/String.hpp>

Convert a character to uppercase ASCII without locale.

constexpr
char
toUpperCase(char const c) noexcept;

Return an uppercase copy of the string without locale.

constexpr
std::string
toUpperCase(std::string_view const s) noexcept;

Return Value

  • Uppercase version of c if it is lowercase; otherwise c.

  • Uppercase copy of s.

Parameters

Name Description

c

Character to convert.

s

Input string.

Created with MrDocs