On Thursday, 23 July 2015 at 16:54:52 UTC, jmh530 wrote:
This is cool and I wasn't aware that you could do this. I was trying to use std.traits' InterfacesTuple to test that a class had a particular interface.


Again, I just found a reference to this behavior in the template section where it talks about Argument Deduction. No idea it was there. There were two things that I thought Rust's traits could do, but D's interfaces couldn't do. Now it seems like D's interfaces could do both of them.

Reply via email to