
21 Nov
2009
21 Nov
'09
10:34 a.m.
My compiler error is "expected an identifier" at ::template. I am guessing that I am out of luck, but is there any way to rewrite or simplify these kind of >constructs?
I fear you may be out of luck there - I can't think of any way to simplify that off the top of my head :-( If is_enum is just being used as a dependency to some other trait, and you don't actually care about enum types, then you could try hard coding is_emun to just evaluate to false for all types and hope for the best... HTH, John.