Advertisement
Guest User

Untitled

a guest
May 13th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. void Machine::makeIntersection(Machine const& other)
  2. {
  3.     auto test = [this, other](std::string const& a, std::string const& b)->bool
  4.     {
  5.         if (this->isFinalState(a) && other.isFinalState(b))return true;
  6.         return false;
  7.     };
  8.     this->makeStates(other, test);
  9.  
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement