This commit is contained in:
Timur A. Fatkhullin
2025-06-09 21:44:11 +03:00
parent 88e45886b2
commit 47413792e5
2 changed files with 23 additions and 4 deletions

View File

@@ -199,6 +199,14 @@ int main()
std::cout << "aa = " << aa << "\n";
free(aa);
std::cout << "\nAfter std::move\n";
auto fsmach1 = std::move(fsmach);
std::cout << "STATES: ";
for (auto& el : fsmach1.stateIDs()) {
std::cout << std::quoted(el) << " ";
}
std::cout << "\n";
std::cout << "current state: " << std::quoted(fsmach1.currentStateID()) << "\n";
return 0;
}