Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is the 16-bit math in this program invoking undefined behavior?

Using std::launder to get a pointer to an active union member from a pointer to an inactive union member?

Comparing two string literals using memcmp

Does put_money hold its argument by value or reference?

Comma operator and void expression

Is calling a function on a NULL pointer undefined? [duplicate]

c++ undefined-behavior

Can integer division ever over/underflow, assuming the denominator <>0? [duplicate]

Is returning a forward-declared structure undefined behavior?

Bug in quicksort example (K&R C book)?

Does QObject distinguish between stack and heap allocated children when deleting?

Does comparing a pointer that has been free'd invoke UB?

std::vector<T>::assign using a subrange valid?

c++ undefined-behavior

Can incrementing a pointer without dereferencing still segfault or have other (un)defined nastiness?

IEEE-754 floating point computations, equality and narrowing

Is this use of std::array undefined behavior? [duplicate]

Is this undefined behavior or a false positive warning?

Is pointer comparison undefined or unspecified behavior in C++?

Is this code well-defined regardless of copy elision?

Why is PHP selecting the Random Values like that?

Is `C == C++` undefined behaviour?

c++ undefined-behavior