| 476 | |
| 477 | template< typename CharT > |
| 478 | inline nssv_constexpr14 int compare( CharT const * s1, CharT const * s2, std::size_t count ) |
| 479 | { |
| 480 | while ( count-- != 0 ) |
| 481 | { |
| 482 | if ( *s1 < *s2 ) return -1; |
| 483 | if ( *s1 > *s2 ) return +1; |
| 484 | ++s1; ++s2; |
| 485 | } |
| 486 | return 0; |
| 487 | } |
| 488 | |
| 489 | #if nssv_HAVE_BUILTIN_MEMCMP |
| 490 |
no outgoing calls
no test coverage detected