MCPcopy Create free account
hub / github.com/couchbase/fleece / operator<

Method operator<

Fleece/Support/diff_match_patch.hh:639–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637 LinePtr() =default;
638 LinePtr(typename string_t::const_pointer p, size_t n) : std::pair<typename string_t::const_pointer, size_t>(p, n) {}
639 bool operator<(const LinePtr& p) const
640 { return this->second < p.second? true : this->second > p.second? false : string_t::traits_type::compare(this->first, p.first, this->second) < 0; }
641 };
642 struct Lines : std::vector<LinePtr> { string_t text1, text2; };
643

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected