On Sunday, 2 June 2019 at 04:02:08 UTC, Paul Backus wrote:
On Saturday, 1 June 2019 at 23:29:08 UTC, SrMordred wrote:Haven't tested it extensively, so use at your own risk, but it should work.On Saturday, 1 June 2019 at 21:39:33 UTC, SImen Kjærås wrote:On Saturday, 1 June 2019 at 21:05:32 UTC, SrMordred wrote:
Nice, thanks! Atm i'm using __traits(compiles, instance.__ctor(other) ) but your solution may be the right way of doing it :)