Date: Fri, 12 Jul 2024 13:35:50 +0300
On Fri, 12 Jul 2024 at 13:27, Hans via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> Perhaps it would be worth taking a look at the paper, which answers all
> of these questions. It suggests, as an initial list,
> std::stable::string, std::stable::string_view, std::stable::vector, and
> std::stable::span. It would probably also be good to add stable classes
> for error handling.
> The paper proposes that stable classes must be standard layout types.
A completely unnecessary restriction.
> Standard layout types have no V-tables.
Neither do the types you list above.
<std-proposals_at_[hidden]> wrote:
> Perhaps it would be worth taking a look at the paper, which answers all
> of these questions. It suggests, as an initial list,
> std::stable::string, std::stable::string_view, std::stable::vector, and
> std::stable::span. It would probably also be good to add stable classes
> for error handling.
> The paper proposes that stable classes must be standard layout types.
A completely unnecessary restriction.
> Standard layout types have no V-tables.
Neither do the types you list above.
Received on 2024-07-12 10:36:05