MCPcopy Create free account
hub / github.com/MyGUI/mygui / strequalrange

Function strequalrange

Tools/EditorFramework/pugixml.cpp:226–233  ·  view source on GitHub ↗

Compare lhs with [rhs_begin, rhs_end)

Source from the content-addressed store, hash-verified

224
225// Compare lhs with [rhs_begin, rhs_end)
226PUGI__FN bool strequalrange(const char_t* lhs, const char_t* rhs, size_t count)
227{
228 for (size_t i = 0; i < count; ++i)
229 if (lhs[i] != rhs[i])
230 return false;
231
232 return lhs[count] == 0;
233}
234
235#ifdef PUGIXML_WCHAR_MODE
236// Convert string to wide string, assuming all symbols are ASCII

Callers 3

first_element_by_pathMethod · 0.70
operator()Method · 0.70
operator==Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected