const main args?
Steven Schveighoffer
schveiguy at yahoo.com
Fri Aug 12 13:31:05 PDT 2011
On Fri, 12 Aug 2011 16:16:45 -0400, bearophile <bearophileHUGS at lycos.com>
wrote:
> Currently the accepted signatures for the D main are (it also works if
> you use "pure main"):
>
> void main();
> int main();
> void main(string[] args);
> int main(string[] args);
>
> But why instead isn't the args argument const when present?
> int main(in string[] args);
What would be the purpose of this?
-Steve
More information about the Digitalmars-d-learn
mailing list