Philippe Sigaud <[email protected]> wrote:

What, that's *five* more characters, five! I win, I win!

;'(

More seriously, yours might be more 'solid', but isn't enum implicit in this
case?

Seems you are right. I thought the template would work as a namespace,
giving this situation:

Init!int = 4;
int a = Init!int; // What, 4?!

But such is not the case.


Anyway, T.init should exist, since "T Init;" works...

Indeed.


--
Simen

Reply via email to