You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bool_string_insensitive_lt(std::string a, std::string b)
156
+
{
157
+
std::string a_copy = "";
158
+
std::string b_copy = "";
159
+
160
+
// ignore conversion of int to char implicit in the <algorithm>std::transform, which I have no control over
161
+
#pragma warning(push)
162
+
#pragma warning(disable: 4244)
163
+
for (size_t i = 0; i < a.size(); i++) { a_copy += std::tolower(a[i]); }
164
+
for (size_t i = 0; i < b.size(); i++) { b_copy += std::tolower(b[i]); }
165
+
#pragma warning(pop)
166
+
return a_copy < b_copy;
167
+
}
168
+
169
+
170
+
// look for an element, based on {Parent, FirstChild, or both} which is of a specific ElementType, having a specific AttributeName with specific AttributeValue
// look for an element, based on {Parent, FirstChild, or both} which is of a specific ElementType, having a specific AttributeName with specific AttributeValue
0 commit comments