Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is it undefined behavior to mutate an immutable local variable?

lambda: should capturing const reference by reference yield undefined behaviour?

Is the right-hand side of an assignment always evaluated before the assignment?

Undefined behaviour of right shift (a >> b) when b is greater than the number of bits in a?

Why doesn't the compiler warn you if there is possible Undefined Behaviour?

c++ undefined-behavior

Does joining a member thread accessing other members of its parent class in the parent's destructor result in undefined behavior?

Is transmuting bytes to a float safe or might it produce undefined behavior?

Is modifying an object through a pointer to const undefined behavior?

is bit_cast without compiler support for constexpr memcpy possible?

Undefined behaviour with non-virtual destructors - is it a real-world issue?

Does Java have undefined behavior like C++ does?

Why am I not getting a segfault error with this simple code?

Comparing struct pointers, casting away members, and UB

Is &array[i] always equivalent to (array + i)? [duplicate]

Can Valgrind catch all sorts of undefined behaviour?

Strange parameter passing - is this safe?

c++ undefined-behavior

Why does increment operation like "a[i] = i++;" result in undefined behavior? [duplicate]

Why doesn't this for loop stop? [duplicate]

Is this undefined behavior in C? (c=x) + (c==y)

c undefined-behavior

Is there valid "use cases" for Undefined Behaviour?

c++11 undefined-behavior