Using pure to create immutable
Jonathan M Davis
jmdavisProg at gmx.com
Thu Sep 22 14:12:53 PDT 2011
On Thursday, September 22, 2011 14:03 Jonathan M Davis wrote:
> In any case, in order for a function to be able to have its return value
> implicitly value implicitly cast to immutable, it must pure and all of its
> arguments must be immutable[...]
Ouch! I really must reread my posts more before posting. That's understandable
but pretty bad. :(
I guess that I'm frequently in too much of a hurry when posting.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list