Peter Kasting
unread,Sep 4, 2024, 12:16:01 PM9/4/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cxx, Peter Kasting, Hans Wennborg, cxx, Roland McGrath
It sounds like consensus is to allow, with a note that some desirable cases (cv-qualified `T`) won't compile pending implementation in libc++, which in turn is pending resolution of
https://isocpp.org/files/papers/P3323R0.html; in such cases, continuing to `reinterpret_cast<>` is technically UB but formally blessed as the current workaround.
I am checking with gbiv@ whether libc++ is part of the CrOS LLVM toolchain roll; if so, this commit hasn't landed in CrOS yet and we can't allow until it does. If not, or else after that point, I consider this resolved modulo contrary feedback, and I'll look into allowing/migrating in the future.
PK