Is it possible to call D functions from C++

via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 07:48:42 PDT 2015


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(…))


More information about the Digitalmars-d mailing list