toLowerCase overloads

Synopses

Declared in <mrdocs/Support/String.hpp>

Convert a character to lowercase ASCII without locale.

constexpr
char
toLowerCase(char const c) noexcept;

Return a lowercase copy of the string without locale.

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

Return Value

  • Lowercase version of c if it is uppercase; otherwise c.

  • Lowercase copy of s.

Parameters

Name

Description

c

Character to convert.

s

Input string.

Created with MrDocs