Date: Tue, 16 Jul 2024 09:23:38 +0100
On Mon, Jul 15, 2024 at 4:33 PM Jason McKesson wrote:
>
> This is why understanding the philosophy behind something like
> guaranteed NRVO is so important. It exposes the issues of going from
> lvalue to prvalue back to lvalue and the myriad of complexities around
> it. You can't just gloss over it; it must be central to any such
> proposal.
std::factory is now P3357, available here:
https://isocpp.org/files/papers/P3357R0.html
In the future we were thinking we would rename 'factory' to
'construct_modify', and rename 'after_factory' to 'invoke_modify'.
>
> This is why understanding the philosophy behind something like
> guaranteed NRVO is so important. It exposes the issues of going from
> lvalue to prvalue back to lvalue and the myriad of complexities around
> it. You can't just gloss over it; it must be central to any such
> proposal.
std::factory is now P3357, available here:
https://isocpp.org/files/papers/P3357R0.html
In the future we were thinking we would rename 'factory' to
'construct_modify', and rename 'after_factory' to 'invoke_modify'.
Received on 2024-07-16 08:23:50