On 11/06/2011 14:28, Alix Pexton wrote: > On 11/06/2011 14:00, Mafi wrote: >> Am 11.06.2011 14:33, schrieb Alix Pexton: >>> >>> It is by no means a final design, but perhaps a starting point, so >>> suggestions welcome. >> >> What about: >> /++ I wrote an article about D and all I got was ++/ >> this.Lousy!T shirt; >> >> //d-programming-language.org > > I thought about that, I wasn't sure it would parse as valid D code >< > [snip.]
This would: (with minimal context) T shirt; struct T{ T lousy(T)(T arg){return arg;} T submitArticle(Article){ return this.lousy!T(shirt); } } struct Article{}; Timon