Enum type deduction inside templates is not working

Uranuz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 27 00:43:26 PDT 2014


Seems that I found answer myself. As far as I understand type 
inference is working only for template functions but not struct 
or class templates. This is why this not working and enum is not 
responsible for that.

I don't know why I use D enough long but I did not remember this 
fact.


More information about the Digitalmars-d-learn mailing list