This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR libstdc++/87431 re-adjust never-valueless optimizations


On Wed, 3 Apr 2019 at 23:32, Antony Polukhin <antoshkka@gmail.com> wrote:
>
> Looks good. Covers most of the use cases.
>
> Please consider adding filesystem::path, pair, tuple, string_view?, error_code, list, deque (myabe all the other containers), optional, variant itself (for cases when variant holds another variant).
>
> It would be very useful for the _Never_valueless_alt to return true for aggregates that hold only never valueles types. Not sure that there is a compiler builtin for getting all the aggregates types, but it could be implemented via metaprogramming.

What metaprogram is capable of that?

> When is the ABI freeze for the C++17 additions?

This approach concerns me; it's a "get it right at the first chance
and then never change it", which is.. ..awkward. But I don't know
whether there's any
way around that.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]