Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Indirectly calling non-const function on a const object

Is computing a pointer to uninitialized memory undefined behavior in C?

Calling C function which takes no parameters with parameters

Is left shifting unsigned int more than its bit field width, but less than its type size undefined?

Bitwise operations act outside of type width in C; Compiler Bug or Within Spec?

Undefined behavior allowed in constexpr -- compiler bug?

C++ pointer weird undefined behaviour

What sequence of operations could possibly have `int i = 1; f(i++, i);` invoke `f(2, 2)`?

Undefined behaviour or not undefined behaviour

Is accessing static class member via unitilialized pointer UB?

Debug vs Release behavior mystery in VC++ 6.0

Confused by undefined C++ shift operator behavior and wrapping "pattern space"

In the C++ standard, paragraph 6.7.3.5, what does "depends on the side effects" mean?

What is the fastest way to write a IEEE-754 compliant double/float division in C++?

setting pointer to variable declared in local scope in C

What is "[core] language undefined behavior" as opposed to "undefined behavior"?

SSIS Multicast Issue: Weird behavior

Is `reinterpret_cast` on `this` inside union-like class an undefined behavior?