C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::construct<T>

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Tue, 3 Dec 2024 12:06:13 +0100
Hi Avi, Is this a contradiction? "The problem happen anywhere you use perfect forwarding." "Just because one class is broken wrt perfect forwarding" That's a peculiarity of pin<> and isn't related to construct<>. The problem with pin<> will happen anywhere you use perfect forwarding, for example you can't use it with std::apply(). Just because one class is broken wrt perfect forwarding doesn't mean we can't use perfect forwarding any more.

Received on 2024-12-03 11:07:53