On Thursday, 22 March 2012 at 10:18:24 UTC, Andrej Mitrovic wrote:
On 3/21/12, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:I think the liability here is that b needs to appear in two places.Andrei, how about this:Note that I've had to make a constructor because I can't implicitly assign a string to a NonSerialized!string inside of a struct literal(but I think this is just a DMD frontend bug).
Now, this is pure beauty. :)