Do pure functions solve the "return const" problems?
Christopher Wright
dhasenan at gmail.com
Thu Apr 3 20:57:39 PDT 2008
Janice Caron wrote:
> On 03/04/2008, Christopher Wright <dhasenan at gmail.com> wrote:
>> Pure functions cannot have out or ref parameters?
>
> I'm only guessing, but I would guess no.
>
>> Out parameters should certainly be supported.
>
> If I've understood this correctly, in pure functions, you don't return
> anything via the parameters. Everything you return, you do through the
> return statement.
Fine, assuming pure arrives after multiple return values.
More information about the Digitalmars-d
mailing list