MCPcopy Create free account
hub / github.com/RenderKit/embree / toUpperCase

Function toUpperCase

common/sys/estring.cpp:14–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 char to_upper(char c) { return char(toupper(int(c))); }
13 std::string toLowerCase(const std::string& s) { std::string dst(s); std::transform(dst.begin(), dst.end(), dst.begin(), to_lower); return dst; }
14 std::string toUpperCase(const std::string& s) { std::string dst(s); std::transform(dst.begin(), dst.end(), dst.begin(), to_upper); return dst; }
15
16 Vec2f string_to_Vec2f ( std::string str )
17 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected