Is reinterpret_cast only made for type punning ?
If I read https://en.cppreference.com/w/cpp/language/reinterpret_cast : "Converts between types by reinterpreting the underlying bit pattern." I understand this cast is made to cast data by bypassing the C++ type system but I can't find other possible uses. But if reinterpret_cast is only useful for type punning, why the documentation doesn't say so ?