https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93906

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> I know r12-4069-ga09bb4a852f82a added the speed up way of doing
> conditional_t and internally using __conditional_t. Is the C++ front-end
> work still needed here for std::conditional or do people use conditional_t
> more now?

std::conditional_t is just an alias for std::conditional::type so has all the
same problems.

Libstdc++ uses a more efficient __conditional_t which is defined differently,
but users can't make use of that. There are still some places (where it affects
mangled names, so ABI) that we have to use std::conditional.

But I no longer really care about having this optimized by the front end.

Reply via email to