Class browser does not list templated classes correctly
A free, portable, fast and simple C/C++ IDE
Brought to you by:
orwelldevcpp
Version: 5.3.0.4
OS version: Windows Vista SP2
Error reported
The class browser lists methods of templated classes as global and does not list members, unless they are declared in the main file (main.cpp). Furthermore, the class itself is not listed. Both templated classes declared in main.cpp and non-templated classes declared in any file are listed correctly.
Steps needed to reproduce the problem
Create a project with two files:
main.cpp:
#include "test.h" int main() { return 0; }
test.h:
template<typename T> class test_class_1 { T member; int method() { return 0; } }
Class browser contains only the following entries:
- method(): int
- main(): int
Fixed as of 5.5.3.
http://wilcobrouwer.nl/bestanden/pic089348093489034.png