Return by 'ref' problems...

Jacob Carlborg doob at me.com
Fri May 4 04:49:44 PDT 2012


On 2012-05-04 12:09, Manu wrote:

> Ah, of course! I didn't spot that >_<
> Thanks.
>
> I suppose technically, 'ref' can lead to the same ambiguity. This must
> be the core of the problem. ref needs to be supported with parentheses?

I'm not sure, since you can't declare a variable as "ref" I think the 
syntax should work. But the syntax with parentheses should probably work 
as well, to be consistent with "const".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list