I wrote
container.push_back(item);auto& new_item = container.front();
and suffered grave consequences.
From now on i will only write
auto& new_item = container.emplace_back(item);
#cpp
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.