MCPcopy Create free account
hub / github.com/3rdparty/libprocess / operator()

Method operator()

include/process/http.hpp:199–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197struct CaseInsensitiveEqual
198{
199 bool operator()(const std::string& left, const std::string& right) const
200 {
201 if (left.size() != right.size()) {
202 return false;
203 }
204 for (size_t i = 0; i < left.size(); ++i) {
205 if (::tolower(left[i]) != ::tolower(right[i])) {
206 return false;
207 }
208 }
209 return true;
210 }
211};
212
213

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected