Search code examples
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
Cast two pointers to a pointer of std::pair like struct...


c++pointerstemplateskey-valuereinterpret-cast

Read More
Array typedef pointer decomposition in function parameter...


c++arrayspointerstypedefreinterpret-cast

Read More
Why does this C-style cast not consider static_cast followed by const_cast?...


c++castinglanguage-lawyerreinterpret-cast

Read More
In C#, how can I reinterpret byte[] as T[], where T is a struct?...


c#arraysreinterpret-cast

Read More
Can I reinterpret_cast some byte range of a POD C-Array to std::array<char,N>?...


c++language-lawyerreinterpret-caststdarray

Read More
Once again: strict aliasing rule and char*...


c++creinterpret-caststrict-aliasing

Read More
reinterpret_cast and explicit alignment requirement...


c++alignmentreinterpret-cast

Read More
Is There Any Memory-Efficient Java Equivalent to C unions or C++ std::variant?...


javareinterpret-casttype-systems

Read More
reinterpret_cast between char* and std::byte*...


c++language-lawyerreinterpret-cast

Read More
Using a pointer for casting char* to unsigned char*...


c++pointersfstreamreinterpret-cast

Read More
Using gsl::narrow fails...


visual-c++code-analysisreinterpret-castcpp-core-guidelines

Read More
Replacing reinterpret_cast with better alternatives?...


c++reinterpret-cast

Read More
Virtual function problem after casting template class instance...


c++templatescastingvirtual-functionsreinterpret-cast

Read More
error: cast from 'char*' to 'int' loses precision [-fpermissive] on using reinterpre...


c++castingreinterpret-cast

Read More
How to convert string to const unsigned char* without using reinterpret_cast (modern approach)...


c++reinterpret-castclang-static-analyzer

Read More
Issue in reinterpret_cast...


c++reinterpret-cast

Read More
Is `reinterpret_cast` actually good for anything?...


c++castingc++17reinterpret-casttype-punning

Read More
How does casting this pointer to an unrelated class work?...


c++classcastingreinterpret-cast

Read More
Using Reinterpret_Cast in a Constexpr Function...


c++c++11constexprreinterpret-castconstant-expression

Read More
Getting around the reinterpret cast limitation with constexpr...


c++c++11constexprreinterpret-cast

Read More
static_cast VS reinterpret_cast when casting pointers to pointers...


c++reinterpret-caststatic-cast

Read More
BackNext