Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in undefined-behavior
Why do STL-Datastructures need fully defined types
Apr 19, 2016
c++
stl
undefined-behavior
Modifying constant object
Jun 20, 2022
c++
c++11
constants
undefined-behavior
"Undefined behaviour" in a statement?
Oct 16, 2022
c
undefined-behavior
Vector of object containing uninitialized value
Nov 30, 2021
c++
initialization
stdvector
undefined-behavior
Alignment of multiple CRTP base classes
May 20, 2022
c++
language-lawyer
multiple-inheritance
undefined-behavior
crtp
What GCC flags are used by major open-source projects to control undefined behavior in C and C++? [closed]
Mar 27, 2020
c++
c
gcc
undefined-behavior
Segmentation fault when assigning values to pointers in function
Oct 26, 2022
c
pointers
segmentation-fault
undefined-behavior
Is an attempt to modify a const_cast-ed, but dynamically allocated constant object still undefined behavior? [duplicate]
Nov 17, 2022
c++
compiler-optimization
heap-memory
undefined-behavior
const-cast
Is it defined behavior to allocate memory using the variable being declared? [duplicate]
Jul 14, 2021
c
memory-management
malloc
sizeof
undefined-behavior
Safely check if `this` is null
Nov 12, 2022
c++
undefined-behavior
reinterpret_cast unsigned char* as uint64_t* - is this UB?
Jun 27, 2022
c++
undefined-behavior
Implementing a std::vector like container without undefined behavior
Apr 01, 2021
c++
memory-management
language-lawyer
undefined-behavior
Is it ok to do printing/logging in global object constructor or it's an undefined behavior?
Dec 12, 2021
c++
constructor
global-variables
iostream
undefined-behavior
C++11: string(50, 'x') versus string{50, 'x'}
Oct 26, 2022
c++11
constructor
undefined-behavior
initializer
C++: call pure virtual function from member function of same class
Sep 15, 2022
c++
undefined-behavior
pure-virtual
Threshold an absolute value
Sep 14, 2022
c++
c
language-lawyer
undefined-behavior
micro-optimization
Is over/underflow an undefined behavior at execution time?
Oct 31, 2022
c++
c
undefined-behavior
integer-overflow
Is comparing to a pointer one element past the end of an array well-defined?
Oct 27, 2022
c
arrays
pointers
undefined-behavior
C standard regarding pointer arithmetic outside arrays
Aug 31, 2022
c
pointers
math
standards
undefined-behavior
How does an uninitialized variable get a random value?
Nov 05, 2022
c
undefined-behavior
initialization
« Newer Entries
Older Entries »