Reuse Regular Automata functionality

This commit is contained in:
IlyaShurupov 2024-02-03 17:10:29 +03:00 committed by Ilya Shurupov
parent b3e5bf0941
commit 56d63f2f18
17 changed files with 1033 additions and 1058 deletions

View file

@ -36,12 +36,14 @@ namespace tp {
T1 t1;
T1 head;
T1 x;
T1 first;
};
union {
T2 t2;
T2 tail;
T2 y;
T2 second;
};
bool operator==(const Pair& in) const { return in.t1 == t1 && in.t2 == t2; }