Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

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?

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