Quiz: do these programs compile? And in that case, what's their behavior?
=> View attached media | View attached media
=> More informations about this toot | More toots from urixturing@hachyderm.io
PS: yes, return
is optional in the main function in C++... yes, it's in the standard
=> More informations about this toot | More toots from urixturing@hachyderm.io
The answer is:
I'm with Rust on this one, the fact that an infinite loop can be optimized away is crazy...
=> More informations about this toot | More toots from urixturing@hachyderm.io
@urixturing (again, this is no longer correct since C++26)
=> More informations about this toot | More toots from mildsunrise@tech.lgbt This content has been proxied by September (ba2dc).Proxy Information
text/gemini