On Fri, May 11, 2012 at 03:04:52PM -0400, Steven Schveighoffer wrote: [...] > struct S > { > int x; > static S opNull() { return S(0);} > } > > S s = null; // equivalent to S(0); [...]
Wait, is this existing syntax, or proposed syntax? It would be mindblowingly awesome if it was existing syntax... T -- The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners... -- Slashdotter