Specifying eponymous template "internal parameter"

monarch_dodra monarchdodra at gmail.com
Tue Jan 8 08:59:08 PST 2013


On Tuesday, 8 January 2013 at 16:56:05 UTC, Philippe Sigaud wrote:
> On Tue, Jan 8, 2013 at 10:58 AM, Simen Kjaeraas 
> <simen.kjaras at gmail.com>wrote:
>
>>    alias fun2 = fun!("++a", "--a");
>>
>
> Wait wait wait.
>
> Since when is this a valid alias syntax?
>
> Is that another Easter egg hidden in 2.061?

Oh. New alias syntax. Nice ain't it?

It works for everything except "alias something this". Not that 
it can't be done, but there were discussions for another syntax 
specific to alias this.


More information about the Digitalmars-d-learn mailing list