Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Why do STL-Datastructures need fully defined types

c++ stl undefined-behavior

Modifying constant object

"Undefined behaviour" in a statement?

c undefined-behavior

Vector of object containing uninitialized value

Alignment of multiple CRTP base classes

What GCC flags are used by major open-source projects to control undefined behavior in C and C++? [closed]

c++ c gcc undefined-behavior

Segmentation fault when assigning values to pointers in function

Is an attempt to modify a const_cast-ed, but dynamically allocated constant object still undefined behavior? [duplicate]

Is it defined behavior to allocate memory using the variable being declared? [duplicate]

Safely check if `this` is null

c++ undefined-behavior

reinterpret_cast unsigned char* as uint64_t* - is this UB?

c++ undefined-behavior

Implementing a std::vector like container without undefined behavior

Is it ok to do printing/logging in global object constructor or it's an undefined behavior?

C++11: string(50, 'x') versus string{50, 'x'}

C++: call pure virtual function from member function of same class

Threshold an absolute value

Is over/underflow an undefined behavior at execution time?

Is comparing to a pointer one element past the end of an array well-defined?

C standard regarding pointer arithmetic outside arrays

How does an uninitialized variable get a random value?