Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
criddell
on Sept 17, 2022
|
parent
|
context
|
favorite
| on:
Cppfront, Herb Sutter's proposal for a new C++ syn...
Both versions are supposed to return an int but neither has a return statement. Is that not an error?
e4m2
on Sept 17, 2022
|
next
[–]
The main function returns zero implicitly if control flow reaches the end without encountering a return statement.
LeSaucy
on Sept 17, 2022
|
prev
[–]
It wouldn't be C++ without undefined behaviour.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: