Optional out parameter of function
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Wed Nov 27 03:20:48 PST 2013
On 27/11/13 12:14, monarch_dodra wrote:
> Interesting trick. That said, doing this (should) also mean you can't use foo in
> a pure context, since it means the caller needs to access the global dummy
> (although that seems to work right now).
Should be OK in a struct/class method context, if dummy is an internal variable.
More information about the Digitalmars-d-learn
mailing list