Я так заявил
Код: Выделить всё
vector queue;
Код: Выделить всё
queue.erase(queue->begin());
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/10953581/getting-front-of-empty-vector-yields-unexpected-behavior[/url]
Код: Выделить всё
vector queue;
Код: Выделить всё
queue.erase(queue->begin());
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/10953581/getting-front-of-empty-vector-yields-unexpected-behavior[/url]