Compare two strings
| 212 | |
| 213 | // Compare two strings |
| 214 | PUGI__FN bool strequal(const char_t* src, const char_t* dst) |
| 215 | { |
| 216 | assert(src && dst); |
| 217 | |
| 218 | #ifdef PUGIXML_WCHAR_MODE |
| 219 | return wcscmp(src, dst) == 0; |
| 220 | #else |
| 221 | return strcmp(src, dst) == 0; |
| 222 | #endif |
| 223 | } |
| 224 | |
| 225 | // Compare lhs with [rhs_begin, rhs_end) |
| 226 | PUGI__FN bool strequalrange(const char_t* lhs, const char_t* rhs, size_t count) |
no outgoing calls
no test coverage detected