SpiceQA
Questions
Tags
Users
Badges
bit-cast
4 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
std::bit_cast vs reinterpret_cast in file I/O
user_13407802
0
•
asked Jun 11, 2022
1
1
85
bit-cast
c++20
reinterpret-cast
file-io
c++
Can bit_cast do the same thing as memcpy to store a pointer into an array of shorts without undefined behaviour?
user_2963099
0
•
asked Dec 17, 2021
2
1
259
bit-cast
c++20
memcpy
c++
Is it valid to create closure (lambda) objects using `std::bit_cast` in C++20?
user_7325599
0
•
asked Aug 18, 2021
14
1
575
bit-cast
c++20
language-lawyer
lambda
c++
Why can't I std::bit_cast the contents of a string literal?
user_5740428
0
•
asked May 9, 2021
8
0
238
bit-cast
c++20
type-punning
c++
1
(current)
Hot Questions