~~~c++ #include <vector> struct S { //S(int i, int j) : a(i), b(j) {} // warning with this int a, b; }; void f(std::vector<S>& v) { v.push_back(S{ 1, 2 }); // FN v.emplace_back(1, 2); } ~~~ https://godbolt.org/z/GKWEjT5sE