Talk:cpp/numeric/bit cast

Isn't this line misleading?

To implement std::bit_cast, std::memcpy can be used, when it is needed, to interpret the object representation as one of another type

But std::memcpy is not constexpr, so how could that be used for an hypotetical implementation?

80.117.187.217 09:32, 15 December 2022 (PST) Luca
 * According to the hypothetical implementation that immediately follows, compiler magic would be required for constexpr --Ybab321 (talk) 02:17, 16 December 2022 (PST)