void main() { Top!(OPTION.FALSE) top = new Top!(OPTION.FALSE); }
enum OPTION { FALSE = 0., TRUE = 1. } class One {} class Two {} class Top(OPTION option) : option ? One : Two {}Is this possible? I can't get it to work in the way I'm showing above.
Cheers