Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Decrementing a pointer out of bounds; incrementing it into bounds [duplicate]

reinterpret_cast bug or UB? [duplicate]

Is Type name = name; ever useful in C++?

Are memory leaks "undefined behavior" class problem in C++?

Is it undefined behaviour to call a function with pointers to different elements of a union as arguments?

Array pointer aliasing - undefined behavior?

How do I convert an arbitrary double to an integer while avoiding undefined behavior?

reinterpret_cast, char*, and undefined behavior

Is infinite loop still undefined behavior in C++ if it calls shared library?

How can I avoid wasteful copying of keys in a B-tree based STL-like map?

Function parameters evaluation order: is it UB if we pass reference?

Why does unsigned char have different default initialization behaviour than other data types?

Accessing same-type inactive member in unions

Is a program that never terminates a valid C++ program?

Does 'a[i] = i;' always result in well defined behaviour?

c++ undefined-behavior

i = i++; is undefined. Is i = foo(i++) also undefined?

c++ undefined-behavior

Can "sizeof(arr[0])" lead to undefined behavior?

Why exactly is calling the destructor for the second time undefined behavior in C++?

Why is the value of i == 0 in this C++ code? [duplicate]

c++ undefined-behavior

Why doesn't deleting my pointer delete my pointer?