Is doing something like this safe? I'm unsure if the execution order is guaranteed or not.
auto foo = std::make_unique<Foo>(); foo->Bar(std::move(foo));
Aucun commentaire:
Enregistrer un commentaire