On Wednesday, 15 April 2015 at 17:03:36 UTC, Ali Çehreli wrote:
This seems to work:

    mixin genOps!(mixin(I));

I'm afraid not:

    mixin genOps!(mixin(I));

errors

typecons_ex.d(135,5): Error: mixin typecons_ex.IndexedBy!(int[3], "I").IndexedBy.genOps!"I" does not match template declaration genOps(T) typecons_ex.d(152,12): Error: template instance typecons_ex.IndexedBy!(int[3], "I") error instantiating typecons_ex.d(185,20): instantiated from here: indexedBy!("I", int[3])
typecons_ex.d(202,9): Error: static assert  (!true) is false

Reply via email to