Search code examples
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
Do function pointer addresses hold after conversions?...


c++language-lawyerfunction-pointersreinterpret-cast

Read More
reinterpret_cast, char*, and undefined behavior...


c++language-lawyerundefined-behaviorc++17reinterpret-cast

Read More
Why can you cast a integer as a void pointer but can't with CString?...


c++mfcreinterpret-cast

Read More
Is C++ considered weakly typed? Why?...


c++strong-typingreinterpret-castweak-typing

Read More
What does type aliasing through reference (of `signed` to `unsigned`) with `reinterpret_cast` do?...


c++language-lawyerinteger-overflowreinterpret-cast

Read More
Is there difference between the reinterpret_cast and the static_cast in any pointer-to-pointer conve...


c++pointersreinterpret-caststatic-cast

Read More
Does reinterpret_cast<unsigned long long> of an int64_t value really break strict aliasing?...


c++reinterpret-caststrict-aliasing

Read More
Does C++ standard guarantee such kinds of indirect access well defined?...


c++reinterpret-caststrict-aliasingtype-aliasstdany

Read More
How to let gcc optimize std::bit_cast with std::move?...


c++gccc++20reinterpret-castbit-cast

Read More
How do I reinterpret a uint64_t variable bits as a double as opposed to static_cast?...


c++11reinterpret-cast

Read More
What’s the best way to cast a function pointer from one type to another?...


c++winapifunction-pointersreinterpret-cast

Read More
When to use reinterpret_cast without disobeying the strict aliasing rule?...


c++castingreinterpret-cast

Read More
std::bit_cast vs reinterpret_cast in file I/O...


c++file-ioc++20reinterpret-castbit-cast

Read More
`fout.write( reinterpret_cast<const char*>(&e), sizeof(e) );` why here casting into `const...


c++binaryfilesfile-handlingreinterpret-cast

Read More
c++ reinterpret_cast char to int* / adjacent bits are repeatedly set as 1100...


c++charintegerbitreinterpret-cast

Read More
Cast raw bytes to any datatype...


c++c++17reinterpret-cast

Read More
What is the most efficient way to reinterpret underlying bit patterns and write it into and array or...


javaarraysperformanceunsafereinterpret-cast

Read More
casting char-array into array of PODs in C++...


c++c++11pointersdynamic-memory-allocationreinterpret-cast

Read More
Does reassignment of pointers acquired by reinterpret_cast from raw memory cause UB?...


c++pointerslanguage-lawyerundefined-behaviorreinterpret-cast

Read More
Safe reinterpret_cast with sockaddr?...


c++undefined-behaviortype-safetyreinterpret-cast

Read More
How can I print out the first and second byte of a member inside a struct?...


cpointersbytememory-addressreinterpret-cast

Read More
c programming question on reinterpret_cast...


cpointersbytereinterpret-cast

Read More
reinterpret_cast vs strict aliasing...


c++language-lawyerstrict-aliasingreinterpret-cast

Read More
Is it possible to change value of a constant variable via reinterpret_cast?...


c++constantsreinterpret-cast

Read More
How to cast nonconst variable to constant static integral class member variable via reinterpret_cast...


c++constexprreinterpret-cast

Read More
Why is only static_cast able to return new object of requested type?...


c++dynamic-castreinterpret-caststatic-castconst-cast

Read More
BackNext