const main args?

Justin Allen Parrott erartqr at gmail.com
Mon May 12 07:01:49 UTC 2025


On Friday, 12 August 2011 at 22:51:34 UTC, Andrej Mitrovic wrote:
> That's pretty stupid, of course you want to modify the 
> arguments.
>
> Classic example:
>
> void main(string[] args)
> {
>     args.popFront;  // get rid of name
>
>     foreach (arg; args)
>     {
>     }
> }

Shouldn’t do this


More information about the Digitalmars-d-learn mailing list