[PATCH] D40144: Implement `std::launder`

Tim Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 16 12:20:49 PST 2017


tcanens added a comment.

At least for GCC, it should use `__builtin_launder`.

Also needs to implement "The program is ill-formed if `T` is a function type or //cv// `void`."


https://reviews.llvm.org/D40144





More information about the cfe-commits mailing list