Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] typedef problem on Microware/Radisys OS9
From: John Maddock (john_at_[hidden])
Date: 2009-11-21 05:34:20


>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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net