Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TuxSH
16 days ago
|
parent
|
context
|
favorite
| on:
A prvalue is not a temporary
Interestingly, GCC (but not Clang) detects but doesn't warn the UB and emits "ud2" with -O2:
https://godbolt.org/z/61aYox7EP
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: