This is the mail archive of the
mailing list for the libstdc++ project.
- From: will wray <wjwray at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 29 Oct 2018 14:39:44 -0400
- Subject: bit_cast status
std::bit_cast was added to the C++ 20 draft this summer:
What's the status for inclusion in libstdc++?
Does anyone have a patch or plans to implement it?
Are there any blockers or implementation issues?
Existing implementations use memcpy so are not constexpr.
The std version will need compiler help to be constexpr.