Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Which enum values are undefined behavior in C++14, and why?

Post-increment and variable re-use in a single statement, Perl 5 vs Perl 6

In C, is it ever safe to cast a variadic function pointer to a function pointer with finite arguments?

Does using bitwise not operator (~) on boolean values invoke Undefined Behavior?

Are there cases where downcasting an actual Base to a Derived would be defined?

Why isn't it undefined behaviour to destroy an object that was overwritten by placement new?

Why deleting void* is UB rather than compilation error?

Is (int32_t) 255 << 24 undefined behavior in gcc (C++11)?

Why does char* cause undefined behaviour while char[] doesn't?

C code with undefined results, compiler generates invalid code (with -O3)

c gcc undefined-behavior

Why specializing a type_trait could result in undefined behaviour?

Undefined behaviour with const_cast

Order of evaluation of arguments in function calling?

How does std::launder affect containers?

Generic char[] based storage and avoiding strict-aliasing related UB

Can an object erase itself from a standard C++ container? [duplicate]

Does undefined behavior affect static_assert?

What happens if undefined C++ behaviour meets C defined behaviour?

c++ c undefined-behavior

Using std:vector as low level buffer

Which integral promotions do take place when printing a char?