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
Safe reinterpret_cast with sockaddr?
Jan 23, 2020
c++
undefined-behavior
type-safety
reinterpret-cast
How can deleting a void pointer do anything other than invoke the global delete operator?
Jul 05, 2022
c++
undefined-behavior
delete-operator
void-pointers
C++ enum class: Cast to non existing entry
May 09, 2022
c++
enums
undefined-behavior
enum-class
Pointer to deallocated variable changes address
Sep 15, 2022
c++
pointers
language-lawyer
undefined-behavior
object-lifetime
Default argument and parameter promotions in C
Sep 11, 2021
c
standards
undefined-behavior
function-call
promotions
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
« Newer Entries
Older Entries »