C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Copy-construct, move-construct, and PR-construct

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
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