2 ms·And make use of std::make_unique<>. auto foo = std::make_unique<Foo>(25.3, true);by criddell 9y agoAnd make use of std::make_unique<>. auto foo = std::make_unique<Foo>(25.3, true);