On Mon, 29 Aug 2011 16:41:19 -0400, Simen Kjaeraas <simen.kja...@gmail.com> wrote:

On Mon, 29 Aug 2011 22:22:52 +0200, Walter Bright <newshou...@digitalmars.com> wrote:
I do think that the "this() @disable;" is an ugly syntax, and I cringe when seeing it. But I can't think of anything better. It does make logical sense given the existence of default construction syntax and the @disable, so in a sense it is just connecting existing dots, which has a compelling value.

I think it's perfect, you just need the words to trade places:
@disable this(); One could argue that @disabled would work better, but
that's a can of worms I'm not touching.

I think it works on both sides. And I agree, it's not that cringeworthy, especially if you put it on the left.

-Steve

Reply via email to