--- alias I(A...) = A;
interface Foo { static foreach(T; I!(int, float))void set(T t); // define virt funcs for a list of types
} class Ass : Foo { static foreach(T; I!(int, float)) void set(T t) { // simplement } } --- really easily.
--- alias I(A...) = A;
interface Foo { static foreach(T; I!(int, float))void set(T t); // define virt funcs for a list of types
} class Ass : Foo { static foreach(T; I!(int, float)) void set(T t) { // simplement } } --- really easily.