const after initialization / pointers, references and values
Wyatt via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 21 05:06:44 PDT 2014
On Wednesday, 20 August 2014 at 21:26:55 UTC, Philippe Sigaud via
Digitalmars-d wrote:
>
> If you want reference semantics but do not want to have pointers
> in your code, yes classes are your best choice.
Alternatively, isn't this a good place to use ref parameters? Or
is there some semantic I'm missing here?
http://dlang.org/function.html#parameters
BTW, Vicente, the D.learn section is a great place to get help. :)
-Wyatt
More information about the Digitalmars-d
mailing list