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
Could deleting complete class type result in undefined behavior?
Dec 30, 2025
c++
undefined-behavior
Accessing a struct member from what is not the same struct type
Dec 24, 2025
c
pointers
struct
undefined-behavior
Example of undefined behaviour involving the use of const_cast
Dec 22, 2025
c++
gcc
constants
compiler-optimization
undefined-behavior
Why output of array to pointer is not related
Dec 22, 2025
c++
arrays
pointers
scope
undefined-behavior
Unexpected bitshift behavior in C [duplicate]
Dec 23, 2025
c
undefined-behavior
bit-shift
Downcast to derived class in CRTP base class constructor: UB or not? [duplicate]
Dec 20, 2025
c++
language-lawyer
undefined-behavior
crtp
downcast
Does undefined behaviour retroactively mean that earlier visible side-effects aren't guaranteed?
Dec 22, 2025
c
gcc
language-lawyer
compiler-optimization
undefined-behavior
Is this declaration UB?
Dec 19, 2025
c
language-lawyer
undefined-behavior
Polymorphic update on struct fields in Rust
Dec 16, 2025
rust
undefined-behavior
unsafe
Is it undefined behaviour to use pointer after allocated memory?
Dec 14, 2025
c
language-lawyer
undefined-behavior
Is accessing arrays out-of-bounds legal if what lies beyond those bounds is known in C? If not why not and how can this be worked around?
Dec 15, 2025
arrays
c
undefined-behavior
Preincrement vs postincrement in terms of sequence points
Dec 10, 2025
c++
c++14
language-lawyer
increment
undefined-behavior
Function argument evaluation and side effects
Dec 11, 2025
c++
c++17
language-lawyer
undefined-behavior
side-effects
Is it really well defined to check pointer alignment using the pointer's integer value?
Dec 11, 2025
c++
pointers
c++17
language-lawyer
undefined-behavior
What does the C++ standard says for algorithms when first <= last is not fulfilled?
Dec 09, 2025
c++
algorithm
language-lawyer
undefined-behavior
std
Why does this std::weak_ptr apparently prevent freeing memory, and how can I detect this bug?
Dec 10, 2025
c++
valgrind
undefined-behavior
address-sanitizer
weak-ptr
Can I assign a callable to a std::function with a different return type?
Dec 09, 2025
c++
undefined-behavior
std-function
Is it OK to pass the address of an int for scanf("%x", ...)?
Dec 08, 2025
c
scanf
language-lawyer
undefined-behavior
Is bitwise aritmetic on pointers defined behavior?
Dec 07, 2025
c
pointers
undefined-behavior
null-pointer
Older Entries »