PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
TextEditor.cpp File Reference
#include <algorithm>
#include <chrono>
#include <string>
#include <regex>
#include <cmath>
#include "TextEditor.h"
#include "imgui.h"

Go to the source code of this file.

Functions

template<class InputIt1 , class InputIt2 , class BinaryPredicate >
bool equals (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, BinaryPredicate p)
 

Function Documentation

◆ equals()

template<class InputIt1 , class InputIt2 , class BinaryPredicate >
bool equals ( InputIt1  first1,
InputIt1  last1,
InputIt2  first2,
InputIt2  last2,
BinaryPredicate  p 
)

Definition at line 15 of file TextEditor.cpp.

17{
18 for (; first1 != last1 && first2 != last2; ++first1, ++first2)
19 {
20 if (!p(*first1, *first2))
21 return false;
22 }
23 return first1 == last1 && first2 == last2;
24}