[libcxx-commits] [PATCH] D58004: Bit-casting object representations (p0476r2)

JF Bastien via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 9 12:15:03 PST 2019


jfb added a comment.

In D58004#1391850 <https://reviews.llvm.org/D58004#1391850>, @zoecarver wrote:

> > No, because it wouldn't support everything the standard says. Things like float -> int are also wrong with what you suggest.
>
> Fair enough. Out of curiosity though, what is wrong with float -> int?


It's not doing the same thing: https://godbolt.org/z/FREjFX


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58004/new/

https://reviews.llvm.org/D58004





More information about the libcxx-commits mailing list