logoalt Hacker News

jandrewrogersyesterday at 4:06 PM0 repliesview on HN

The compiler will create an implicit lifetime type at the memmove destination as required to give it defined behavior. Technically you don't even need std::launder, it is just far more convenient than the alternative.