MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / equals

Function equals

plugins/Cardinal/src/DearImGuiColorTextEditor/TextEditor.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template<class InputIt1, class InputIt2, class BinaryPredicate>
16bool 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
27TextEditor::TextEditor()
28 : mLineSpacing(1.0f)

Callers 3

isEqualMethod · 0.85
isEqualMethod · 0.85
ColorizeInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected