MCPcopy Create free account
hub / github.com/couchbase/fleece / LinePtr

Method LinePtr

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

Source from the content-addressed store, hash-verified

635 protected:
636 struct LinePtr : std::pair<typename string_t::const_pointer, size_t> {
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; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected