| 14 | |
| 15 | template<class InputIt1, class InputIt2, class BinaryPredicate> |
| 16 | bool equals(InputIt1 first1, InputIt1 last1, |
| 17 | InputIt2 first2, InputIt2 last2, BinaryPredicate p) |
| 18 | { |
| 19 | for (; first1 != last1 && first2 != last2; ++first1, ++first2) |
| 20 | { |
| 21 | if (!p(*first1, *first2)) |
| 22 | return false; |
| 23 | } |
| 24 | return first1 == last1 && first2 == last2; |
| 25 | } |
| 26 | |
| 27 | TextEditor::TextEditor() |
| 28 | : mLineSpacing(1.0f) |
no outgoing calls
no test coverage detected