C++ Logo

std-discussion

Advanced search

Re: Will we get constexpr std::bit_cast in C++20?

From: JeanHeyd Meneide <phdofthehouse_at_[hidden]>
Date: Sat, 11 Jan 2020 10:46:35 -0500
On Sat, Jan 11, 2020 at 3:32 AM Lyberta via Std-Discussion
<std-discussion_at_[hidden]> wrote:
>
> Wilhelm Meier via Std-Discussion:
> > will constexpr std::bit_cast land in C++20?
> >
> > clang actually seems to get this feature, but for gcc there is no
> > activity on this. I would be great to have this (for the embedded
> > community).
> It has already landed in the ISO draft, it's just not all of the big
> three compilers implement it yet.

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

Received on 2020-01-11 09:49:19