Immutable Message Passing

Timon Gehr timon.gehr at gmx.ch
Mon Dec 5 03:43:44 PST 2011


On 12/05/2011 02:56 AM, bearophile wrote:
> Timon Gehr:
>
>> It is not fully implemented and apparently Walter would like a different
>> solution, because it is quite ugly.
>
> Do you know why it is ugly?
>
> Bye,
> bearophile

It overloads the 'ref' keyword with an unrelated meaning.
And furthermore:

auto x = new const(Foo)ref(123); // =O!

But there has not been a better proposal.


More information about the Digitalmars-d mailing list