What I want to do (and can't...) is
Template <typename Tclass base
{
// whatever
}
class derived: public base<derived::myVals>
{
Enum myVals
{
// this isn't relevant either
}
}
....so that I can have a function in the base that takes the enum as a
parameter.
At the moment I'm running with a helper class that contains the enum
(and nothing else); but it's ugly, because it separates the enum from
its proper class. What do people think is the best way around this?
Ta
Andy