MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / lowercase

Function lowercase

include/dpp/stringops.h:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 * @return std::basic_string<T> lowercased string
41 */
42template <typename T> std::basic_string<T> lowercase(const std::basic_string<T>& s)
43{
44 std::basic_string<T> s2 = s;
45 std::transform(s2.begin(), s2.end(), s2.begin(), tolower);
46 return s2;
47}
48
49/**
50 * @brief Convert a string to uppercase using toupper()

Callers 10

mainFunction · 0.85
connectMethod · 0.85
commandhandler.cppFile · 0.85
routeMethod · 0.85
bignumberMethod · 0.85
slashcommand.cppFile · 0.85
get_headerMethod · 0.85
get_header_countMethod · 0.85
get_header_listMethod · 0.85
handle_bufferMethod · 0.85

Calls 3

transformFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

mainFunction · 0.68