MCPcopy Create free account
hub / github.com/davisking/dlib / tolower

Function tolower

dlib/string/string.h:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 typename alloc
64 >
65 const std::basic_string<char,traits,alloc> tolower (
66 const std::basic_string<char,traits,alloc>& str
67 )
68 {
69 std::basic_string<char,traits,alloc> temp;
70
71 temp.resize(str.size());
72
73 for (typename std::basic_string<char,traits,alloc>::size_type i = 0; i < str.size(); ++i)
74 temp[i] = (char)std::tolower(str[i]);
75
76 return temp;
77 }
78
79// ----------------------------------------------------------------------------------------
80

Callers 13

strtolowerMethod · 0.85
get_tokenMethod · 0.85
string_testFunction · 0.85
operator()Method · 0.85
on_keydownMethod · 0.85
forwarded_on_keydownMethod · 0.85
operator()Method · 0.85
operator ==Method · 0.85
castMethod · 0.85
keymatchFunction · 0.85
keymatchFunction · 0.85

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by 1

string_testFunction · 0.68