Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in reinterpret-cast

const_cast vs reinterpret_cast

What value does const void * offer over void *?

May I have a real life example where casting through void* works and reinterpret_cast doesn't?

Virtual functions and cast to void and back

Can I reinterpret std::vector<char> as a std::vector<unsigned char> without copying?

Does the "cast to first member of standard layout" type punning rule extend to arrays?

Dealing with undefined behavior when using reinterpret_cast in a memory mapping

reinterpret_cast to function pointer

c++ reinterpret-cast

Is it Legal to reinterpret_cast to a void*

Cast from Void* to TYPE* using C++ style cast: static_cast or reinterpret_cast

Can reinterpret_cast (or any cast) convert xvalues to lvalues?

interpret unsigned as signed

C++ When should we prefer to use a two chained static_cast over reinterpret_cast

why it use void** here?

c++ v8 reinterpret-cast

Variation on the type punning theme: in-place trivial construction

reinterpret_cast for almost pod data (is layout-compatibility enough)

Is reinterpret cast from vector of pointers to vector of const pointers safe?

How to avoid undefined behaviour with aligned_storage and polymorphism

c++ c++11 reinterpret-cast

Can I convert a null pointer of int to a long type by reinterpret_cast