March 20, 2015 Re: Is it possible to call D functions from C++ | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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(…))
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply