D Primary Type Syntax is Essentially Implemented!
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Tue May 23 22:39:44 UTC 2023
Good work cleaning this up.
On 24/05/2023 10:18 AM, Quirin Schroll wrote:
> |// `a` takes its parameter by value; the parameter returns by
> reference. // `b` takes its parameter by reference; the parameter
> returns by value. void a( ref (int function()) ) { } void b((ref int
> function()) ) { }|
Are you sure that this is correct?
I read this as `a` takes its parameter by reference; the argument
returns by value.
If this isn't what you intended its a little worrying because this is
going to cause problems.
More information about the Digitalmars-d
mailing list