- Aug 9, 2001
- 2,810
- 13
- 81
I have a class with a template like:
and I need to be able to change DisplayErrors in subclasses but the compiler keeps balking an saying that DisplayErrors doesn't exist. Is there a way to do this?
Code:
template< class ReqDataType, bool DisplayErrors, class RespDataType = RespItems >
class TransBase: public TransBaseSuper
{
...
}
and I need to be able to change DisplayErrors in subclasses but the compiler keeps balking an saying that DisplayErrors doesn't exist. Is there a way to do this?