3 ms·widgets.emplace_back(foo, bar, baz); I honestly always thought that was the only way to use emplace_back.by rq1 6y agowidgets.emplace_back(foo, bar, baz); I honestly always thought that was the only way to use emplace_back.rocqua 6y agoI mean, if a copy constructor exists then the other version should obviously also work. But at the same time, it isn't quite how this was meant to be used.rq1 6y agoYup indeed. :)