On 17/04/18 13:59, Simen Kjærås wrote:[...]Also, extremely dangerous.Seriously, guys and gals. __traits(compiles) (and its uglier sibling, is(typeof())) should be used *extremely* sparingly.[...]
A very good rule of thumb. I've lost of how many times I've had a bug because of __traits(compiles) being false, but not in the way I expected it to be!