On Thursday, 19 March 2015 at 08:38:45 UTC, Kagamin wrote:
Hmm... I read it as "it shall have the return type of int, but if not, then it's implementation-defined".
The semantics of returning from main() is defined as: std::exit(main(…))
On Thursday, 19 March 2015 at 08:38:45 UTC, Kagamin wrote:
Hmm... I read it as "it shall have the return type of int, but if not, then it's implementation-defined".
The semantics of returning from main() is defined as: std::exit(main(…))