Date: Mon, 21 Aug 2023 18:27:47 +0200
I would prefer:
F temp = t;
or
F temp = static_cast<F>(t);
over the function-style cast, even if there is no copy constructor.
-----Ursprüngliche Nachricht-----
F(const F&) = delete;
F temp = F(t); //no copy there
Received on 2023-08-21 16:27:49