Table table;
table.UpdateSeats(false, false, false, false, false, false);
std::list<bool>::iterator Test = table.GetSeats();
std::cout << "The current status of seats: ";
for (int i = 0; i < 6; ++i) {
std::cout << " " << *Test;
++Test;
std::cout << std::endl;
}
No compiler errors or warnings, just a Debug Assertion Failed!
Expression: list iterator not incrementable. Any ideas?