Search code examples
using type punning to decompose object into words...


clanguage-lawyerstrict-aliasing

Read More
Default type for object pointed by an integer constant...


clanguage-lawyerstrict-aliasing

Read More
Is ((size_t *)(vec))[-1] a violation of strict-aliasing?...


cstrict-aliasing

Read More
Is casting to a struct that consists solely of a char[] and reading from that array well defined?...


c++strict-aliasingtype-punning

Read More
Pass multidimensional array to extern "C" function as void *...


c++carrayspointersstrict-aliasing

Read More
Vulkan-hpp is reinterpret_casting non-standard-layout class to another class. Is this legal?...


c++language-lawyervulkanstrict-aliasing

Read More
What happened to the "aggregate or union type that includes one of the aforementioned types&quo...


c++structlanguage-lawyerstrict-aliasing

Read More
How can I implement a fast copying function like memcpy()?...


cperformancememcpystrict-aliasing

Read More
Does the strict-aliasing rules apply across function calls?...


c++language-lawyerstrict-aliasing

Read More
Need help to resolve warning: dereferencing type-punned pointer will break strict-aliasing rules...


cpointersgcccastingstrict-aliasing

Read More
Unions, aliasing and type-punning in practice: what works and what does not?...


c++gccstrict-aliasing

Read More
Strict aliasing rule in C...


clanguage-lawyerstrict-aliasing

Read More
Can a type which is a union member alias that union?...


clanguage-lawyerunionsstrict-aliasing

Read More
Stricit aliasing violation: Why gcc and clang generate different output?...


cgccclangcompiler-optimizationstrict-aliasing

Read More
Does the following code violate strict aliasing?...


cstrict-aliasing

Read More
Has signed/unsigned aliasing rule ever worked as intended?...


c++language-lawyerstrict-aliasingreinterpret-casttype-punning

Read More
Is casting incomplete struct pointers undefined behavior?...


clanguage-lawyerc11strict-aliasing

Read More
Strict aliasing rules broken with templates and inheritance...


c++templatesinheritancegccstrict-aliasing

Read More
Is it well-defined to use memset on a dynamic bool array?...


clanguage-lawyerstrict-aliasingmemset

Read More
How to cast the address of a pointer generically while conforming to the C standard...


cpointersstrict-aliasing

Read More
Is aliasing an array of T to an array of std::complex<T> legal?...


c++language-lawyerstrict-aliasing

Read More
C++ type aliasing, where value is replaced...


c++strict-aliasing

Read More
Does access through pointer change strict aliasing semantics?...


clanguage-lawyerstrict-aliasing

Read More
Does type aliasing issue exist only when pointers are passed to functions as arguments?...


c++pointerslanguage-lawyerstrict-aliasingtype-alias

Read More
Why doesn't strict aliasing rule apply to int* and unsigned*?...


clanguage-lawyercompiler-optimizationundefined-behaviorstrict-aliasing

Read More
Is there a legal way to convert a unsigned char pointer to std::byte pointer?...


c++castingbytebufferstrict-aliasing

Read More
strict aliasing in C...


cgccstrict-aliasing

Read More
Is it legal to reuse memory from a fundamental type array for a different (yet still fundamental) ty...


c++castinglanguage-lawyerstrict-aliasing

Read More
Buffer filled with different types of data, and strict aliasing...


c++c++11c++14strict-aliasing

Read More
Does strict aliasing prevent you from writing to a char array through a different type?...


c++language-lawyerstrict-aliasing

Read More
BackNext