MCPcopy Create free account
hub / github.com/apache/trafficserver / operator()

Method operator()

lib/swoc/include/swoc/TextView.h:948–951  ·  view source on GitHub ↗

@return Case sensitive ordering.

Source from the content-addressed store, hash-verified

946 struct LessThan {
947 /// @return Case sensitive ordering.
948 bool
949 operator()(self_type const &lhs, self_type const &rhs) const noexcept {
950 return -1 == strcmp(lhs, rhs);
951 }
952 };
953
954 /// Ordering functor, case ignoring lexicographic comparison.

Callers

nothing calls this directly

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected