What is the difference between `std::launder(ptr)` and `reinterpret_cast (reinterpret_cast (ptr))` in C++29? (stackoverflow.com)stack
22 points by cpplearner in stackoverflow.com · 16h ago · stack comments
In N5054, reinterpret_cast from integer to pointer is specified as ( [expr.reinterpret.cast] ): A value of integral type or enumeration type can be explicitly converted to a pointer. If the value is one that can be produced by converting one or more pointer values to an integral…