MCPcopy Create free account
hub / github.com/p-ranav/tabulate / compare

Method compare

include/tabulate/string_view_lite.hpp:744–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742 }
743
744 nssv_constexpr int compare( size_type pos1, size_type n1, basic_string_view other ) const // (2)
745 {
746 return substr( pos1, n1 ).compare( other );
747 }
748
749 nssv_constexpr int compare( size_type pos1, size_type n1, basic_string_view other, size_type pos2, size_type n2 ) const // (3)
750 {

Callers 1

Calls 3

compareFunction · 0.70
basic_string_viewClass · 0.70
substrMethod · 0.45

Tested by

no test coverage detected