On Tuesday, 13 November 2012 at 22:55:38 UTC, eskimo wrote:
Property is a struct and thus it is passed by value, which means thatthe signal is copied.
But wait! Due to "alias get this;", f.prop shouldn't copy prop but call get (which it does in the working - second - case)! How to check? Remove the alias and writeln(f.prop) prints "Property(7)", with the alias writeln(f.prop) prints "7"