[libcxx-commits] [PATCH] D58004: Bit-casting object representations (p0476r2)
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 9 11:51:22 PST 2019
zoecarver added a comment.
Here is another idea, what if we treated fundamental types differently because they can be cast using c-style casting? Like this:
std::is_fundamental<_To>::value &&
std::is_fundamental<_Fm>::value,
_To
>::type
bit_cast(const _Fm &__src) noexcept
{
return (_To) __src;
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58004/new/
https://reviews.llvm.org/D58004
More information about the libcxx-commits
mailing list