SpiceQA
Questions
Tags
Users
Badges
undefined-behavior
376 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Can partial_sort's middle iterator equal the end iterator?
user_468405
0
•
asked Feb 17, 2021
3
2
91
undefined-behavior
sorting
c++
Is it safe to reinterpret_cast<const char*> any struct that starts with a char[size] member?
user_9665629
0
•
asked Feb 12, 2021
2
1
180
undefined-behavior
reinterpret-cast
c++
Miri complains about UB when initializing and manually dropping MaybeUninit
user_5304124
0
•
asked Feb 11, 2021
3
1
249
rust
undefined-behavior
Undefined behavior in C
user_12357035
0
•
asked Feb 10, 2021
3
2
91
sequence-points
undefined-behavior
c
Is it ever safe to reinterpret_cast the address of a variable to the address of a union?
user_15150972
0
•
asked Feb 5, 2021
2
0
124
c++17
undefined-behavior
reinterpret-cast
unions
c++
FLT_HAS_SUBNORM is 0: does execution of fpclassify() with manually constructed subnormal lead to UB or lead to WDB returning FP_SUBNORMAL?
user_1778275
0
•
asked Feb 3, 2021
3
0
106
math.h
undefined-behavior
language-lawyer
floating-point
c
Is it undefined behavior to mutate an immutable local variable?
user_14642088
0
•
asked Feb 1, 2021
4
1
215
rust
undefined-behavior
immutability
Why can't the C compiler optimize changing the value of a const pointer assuming that two pointers to the same variable would be illegal/UB?
user_3849158
0
•
asked Feb 1, 2021
64
5
3258
rust
strict-aliasing
undefined-behavior
c
Undefined Behaviour in C99 related to adjusted parameters
user_5836577
0
•
asked Jan 19, 2021
7
2
157
undefined-behavior
language-lawyer
c99
implicit-conversion
c
Is calling a "noexcept function" through a "function" lvalue undefined?
user_4917725
0
•
asked Jan 11, 2021
8
1
108
noexcept
undefined-behavior
language-lawyer
function-pointers
c++
Prev
Prev
14
15
16
(current)
17
18
Next
Next
Hot Questions