From Undefined to Defined: Using std::launder in C++ -- Andreas Fertig

In today's post, I will continue with the overall topics of the last two months. Today you'll learn when and where you need to apply C++17's std::launder and where the difference to this utility is to reinterpret_cast or std::start_lifetime_as. From Undefined to Defined: Using std::launder in C++…

dev

Sources