| 592 | |
| 593 | template <typename StringIterator1, typename StringIterator2> |
| 594 | constexpr bool SC::StringView::equalsIterator(StringIterator1 t1, StringIterator2 t2, size_t& points) |
| 595 | { |
| 596 | StringCodePoint c1 = 0; |
| 597 | StringCodePoint c2 = 0; |
| 598 | while (t1.advanceRead(c1) and t2.advanceRead(c2)) |
| 599 | { |
| 600 | if (c1 != c2) |
| 601 | { |
| 602 | return false; |
| 603 | } |
| 604 | points++; |
| 605 | } |
| 606 | return t1.isAtEnd() and t2.isAtEnd(); |
| 607 | } |
| 608 | |
| 609 | template <typename StringIterator> |
| 610 | constexpr bool SC::StringView::equalsIterator(StringView other, size_t& points) const |
nothing calls this directly
no test coverage detected