"alias that this" or "alias this : that"
Mike
none at none.com
Fri Feb 7 15:46:46 PST 2014
On Friday, 7 February 2014 at 22:55:05 UTC, Timon Gehr wrote:
> On 02/07/2014 11:23 PM, Jakob Ovrum wrote:
>>>
>>
>> Reserving `alias this = ...;` allows adding aliasing of
>> constructors in
>> the future, assuming it can be meaningfully defined.
>
> What a mess that would be. If the consensus is that alias this
> syntax was a mistake then _both_ forms should be removed and
> the concept should be re-introduced as specially named member
> instead.
Timon, this makes a lot of sense. Would you mind elaborating
with a simple syntax sample?
More information about the Digitalmars-d
mailing list