Templates in classes => what is wrong?

Ali Çehreli acehreli at yahoo.com
Sun Apr 15 16:10:13 PDT 2012


On 04/15/2012 01:27 PM, jerro wrote:
>> - Return 0 from main() for successful exit, anything else by
>> convention means some sort of error.
>
> Why not just declare main return type to be void?

That's much better. :) D takes care of doing the right thing in that case.

Ali


More information about the Digitalmars-d-learn mailing list