Details
-
Sub-task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
Qt 4.6.1
kubuntu 08.04
Description
QtCreator reports an highlight error when a class is templated with an enum, see this simple example :
enum Color { RedColor, GreenColor, BlueColor }; template<Color _COLOR_> class Page { }; typedef Page<RedColor> RedPage_t;
QtCreator wave-underlines the last line typedef Page<RedColor> RedPage_t; as if it is a type error, saying that `RedColor' is not a type name. But this is valid C++ code.