On 11/27/10 1:18 CST, Kagamin wrote:
Torarin Wrote:Static interfaces (same thing as c++ 0x's ditched concepts) seem very useful. Did you consider them at some point?static interface seems consistent with C#, though, I think static class is misdesing by itself. I'd prefer template interface ISummable(T) { static T opAdd(T lh, T rh); }
We use template constraints for that kind of stuff. Andrei