|
|
|
|
|
by xKingfisher
1935 days ago
|
|
Not to mention the very real risk of accidently invoking the wrong constructor. If you change the type of a vector, push_back is a good deal safer than emplace_back. Especially since many of the standard containers have many more constructors that you'd think - hello std::vector(size_type count). |
|