Search code examples
Reinterpret cast of void * didn't do what I thought it would...


c++reinterpret-cast

Read More
Why doesn't this reinterpret_cast compile?...


c++castingreinterpret-cast

Read More
Why C++ allocators use reinterpret_cast and how to avoid it?...


c++stlc++20allocatorreinterpret-cast

Read More
When does reinterpret_cast violate the law?...


c++reinterpret-castillegal-instruction

Read More
How is reinterpret_cast casting pointer to a different type without creating the object?...


c++pointersreinterpret-cast

Read More
Can I use placement new with class array?...


c++reinterpret-castplacement-new

Read More
Is `reinterpret_cast` to go from derived -> memory -> base safe given the proper static assert...


c++serializationreinterpret-castmemory-layout

Read More
Equivalent of C++'s reinterpret_cast in C#...


c#reinterpret-cast

Read More
MessageBox Description has only 1 letter...


c++messageboxreinterpret-castlpstrlpwstr

Read More
How do I reinterpret bool as byte/int without branching in C#?...


c#booleanreinterpret-casttype-punningbranchless

Read More
Converting a templated data into another templated data...


c++alignmentreinterpret-casttype-punning

Read More
Why can't I static_cast between char * and unsigned char *?...


c++charreinterpret-caststatic-castunsigned-char

Read More
Call function through pointer with no arguments...


c++function-pointersreinterpret-cast

Read More
Placement new + reinterpret_cast in C++14: well-formed?...


c++language-lawyerundefined-behaviorreinterpret-caststrict-aliasing

Read More
reinterpret_cast<const> casts away const qualifier?...


c++reinterpret-castconst-correctnessfunction-qualifier

Read More
Where can I find what std::launder really does?...


c++c++17reinterpret-castpointer-aliasingstdlaunder

Read More
Is `reinterpret_cast` for pointer and reference conversion completely superceded by features from ne...


c++pointersreinterpret-cast

Read More
Why does reinterpret_cast work in some cases but not others?...


c++dynamic-castreinterpret-cast

Read More
Examples using reinterpret_cast that do not trigger UB...


c++undefined-behaviorreinterpret-caststrict-aliasing

Read More
Can we `reinterpret_cast` a `Eigen::Vector<T, D + 1>& x` to `Eigen::Vector<T, D>&amp...


c++c++20eigenreinterpret-cast

Read More
Why the reinterpret_cast operator is considered dangerous in cpp? is there a better approach?...


c++filefile-handlingreinterpret-cast

Read More
Difference in compiler warnings when "reinterpret_cast" is used on pointers vs references...


c++reinterpret-cast

Read More
When to use reinterpret_cast?...


c++castingreinterpret-cast

Read More
GCC: _Static_assert "non-constant condition for static assertion"...


c++cgccreinterpret-caststatic-assert

Read More
Need to store "untyped" memory view and cast to typed quickly. Is there an reinterpret_cas...


cythonvoid-pointersreinterpret-casttyped-memory-views

Read More
Semantics of reinterpret_cast<const unsigned char*>...


c++reinterpret-cast

Read More
Rationale for non-virtual derived class not being pointer-interconvertible with its first base...


c++inheritancelanguage-lawyerreinterpret-caststrict-aliasing

Read More
C++ compiler says "inconsistent deduction for auto return type"...


c++autoreinterpret-castnullptrstdoptional

Read More
How to do type punning correctly in C++...


c++memcpyreinterpret-casttype-punning

Read More
Is it safe to reinterpret_cast an enum class variable to a reference of the underlying type?...


c++c++11reinterpret-castenum-class

Read More
BackNext