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
Is using std::span into an std::vector after push_back is called undefined behavior
Sep 23, 2025
c++
vector
undefined-behavior
ownership-semantics
std-span
How to access an object representation according to the c++ standard?
Sep 21, 2025
c++
pointers
object
language-lawyer
undefined-behavior
How to check if a string passed as argument is a modifiable string
Sep 20, 2025
c
string
assert
undefined-behavior
string-literals
Is returning a pointer to a local variable always undefined behavior [duplicate]
Sep 18, 2025
c++
function
pointers
local
undefined-behavior
Should a boolean predicate for std::condition_variable be volatile in C++?
Sep 16, 2025
c++
multithreading
c++11
undefined-behavior
std
Is it technically UB to static_cast<A*>(memmove(dst, (void*)src, sizeof(src))) since C++20?
Sep 15, 2025
c++
language-lawyer
c++20
undefined-behavior
lifetime
Difference between array and pointer to string literal
Sep 17, 2025
c
memory-management
undefined-behavior
Is casting `the address of a pointer to a struct` to `the address of a struct whos first member is a pointer to the struct` UB?
Sep 15, 2025
c++
undefined-behavior
reinterpret-cast
pointer-conversion
Does undefined behavior only concern an execution of program, or can it concern a program itself?
Sep 15, 2025
c++
language-lawyer
undefined-behavior
Can I "over-extend" an array by allocating more space to the enclosing struct?
Sep 15, 2025
c
arrays
language-lawyer
undefined-behavior
flexible-array-member
Why is optimization forbidden if a C compiler cannot prove lack of UB?
Sep 15, 2025
c
optimization
compiler-optimization
undefined-behavior
integer-overflow
Generating prefix bitmasks
Sep 15, 2025
c++
c
bit-manipulation
undefined-behavior
branchless
Undefined behaviour in (X)HTML?
Sep 13, 2025
html
xhtml
undefined-behavior
Is std::begin on an empty std::valarray undefined behavior?
Sep 12, 2025
c++
undefined-behavior
libstdc++
valarray
Examples using reinterpret_cast that do not trigger UB
Sep 12, 2025
c++
undefined-behavior
reinterpret-cast
strict-aliasing
Why doesn't strict aliasing rule apply to int* and unsigned*?
Sep 10, 2025
c
language-lawyer
compiler-optimization
undefined-behavior
strict-aliasing
default parameters in function call in C
Sep 09, 2025
c
function
parameters
default
undefined-behavior
Is decrement of bool variable defined in С?
Sep 08, 2025
c
boolean
increment
undefined-behavior
decrement
strange behavior of scanf for short int
Sep 06, 2025
c
scanf
undefined-behavior
Can a function be marked noexcept if it takes a value type that may throw?
Sep 05, 2025
c++
c++11
exception
undefined-behavior
noexcept
Older Entries »