October 02, 2002 idea - default function return value? | ||||
---|---|---|---|---|
| ||||
I was thinking it might be usefull to be able to specify a default return value for a function. Sobody smack me if this is already posible ;) int foo() = 0; chris |
October 03, 2002 Re: idea - default function return value? | ||||
---|---|---|---|---|
| ||||
Posted in reply to chris jones | I dont know why i thought that was a good idea :o) "chris jones" <flak@clara.co.uk> wrote in message news:anf21b$1672$1@digitaldaemon.com... > I was thinking it might be usefull to be able to specify a default return value for a function. Sobody smack me if this is already posible ;) > > int foo() = 0; > > chris > > |
Copyright © 1999-2021 by the D Language Foundation