// // emplace_back with parameter arguments // #include #include #include struct MyClass{ double value; MyClass(const double & par,double phi) noexcept : value{par*sin(phi)} {} }; int main(){ const int N=1000000; const double par=3.866; std::vector v; for (auto i=0;i