MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / toLower

Function toLower

Src/Base/AMReX_String.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace amrex {
11
12std::string toLower (std::string s)
13{
14 std::ranges::transform(s, s.begin(),
15 [](unsigned char c) { return std::tolower(c); });
16 return s;
17}
18
19std::string toUpper (std::string s)
20{

Callers 3

InitializeFunction · 0.85
getEnumCaseInsensitiveFunction · 0.85
is_literal_boolFunction · 0.85

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected