const cast and std launder Languages

const cast and std launder

Modifying a const constructed object after a const_cast is UB (I believe due to constant propagation). Is it still UB even when combined with std::launder (which AFAIK prevents some optimizations such as const propagation)?
Read More