SpiceQA
Questions
Tags
Users
Badges
undefined-behavior
376 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How to reinterpret or cast an object with known memory layout without getting Undefined Behavior
user_827280
0
•
asked Jul 29, 2021
3
1
187
c++17
undefined-behavior
reinterpret-cast
casting
c++
Undefined behaviour on std::prev for transform-view
user_8038465
0
•
asked Jul 22, 2021
7
1
178
std-ranges
c++20
undefined-behavior
c++
Why can I modify const_cast-ed object in constexpr function?
user_700825
0
•
asked Jul 9, 2021
5
2
112
constexpr
c++20
undefined-behavior
c++
Out of the bounds in C++ and undefined behaviour
user_4264977
0
•
asked Jul 9, 2021
8
2
350
undefined-behavior
language-lawyer
c++
Why does unsigned char have different default initialization behaviour than other data types?
user_14571585
0
•
asked Jul 2, 2021
17
2
687
undefined-behavior
initialization
char
c++
How to fix undefined behaviour with considerably small changes in code
user_1498580
0
•
asked Jun 30, 2021
4
1
110
undefined-behavior
reference
c++
Is using reference to pointer that was casted with reinterpret_cast undefined behavior?
user_5447906
0
•
asked Jun 28, 2021
7
2
176
undefined-behavior
reinterpret-cast
c++
Is passing an absent assumed-shape array for an optional argument of another procedure allowed?
user_9611473
0
•
asked Jun 19, 2021
4
1
208
sanitizer
undefined-behavior
fortran
optional-parameters
standards
Is &array[i] always equivalent to (array + i)?
user_16257574
0
•
asked Jun 18, 2021
4
3
244
undefined-behavior
language-lawyer
pointers
c
Does the C++ standard guarantee anything about algorithms operating on empty containers?
user_5101335
0
•
asked Jun 16, 2021
3
1
69
undefined-behavior
std
c++
Prev
Prev
10
11
12
(current)
13
14
Next
Next
Hot Questions