Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Using newly declared variable in initialization (int x = x+1)?

C++: Strange behavior: Return value changes on the return statement

OrderBy with a non-transitive IComparer

Dangling pointer to polymorphic class leads to Undefined Behaviour. Is it true that it can be the source of any corruption imaginable?

Are file scoped atomics subject to the initialization order fiasco?

Function equality and ordering in Erlang

std::shared_ptr and dlopen(), avoiding undefined behavior

Allocating memory for a part of structure

Using this.var during var's initialization [duplicate]

C++ Why bitwise operator ~ on uint64_t and uint8_t return different types?

How to properly write R-Value overloads for operators

C++ What is the earliest undefined behavior can manifest itself?

c++ undefined-behavior

Legally invoking a pure virtual function

Is it undefined behavior to dereference a dangling pointer?

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?