Community
Participate
Working Groups
Build Identifier: 20100218-1602 In source file, press F3 on a function that has a templated variable, this opens the header file and places at the function. In header file, press F3 on a function that has a templated variable, this does not open the source. In the source the function appears to be public and yet the function in the header file is protected. Reproducible: Always Steps to Reproduce: #ifndef OPENDEC_H #define OPENDEC_H template< size_t SIZE > class my_string { public: my_string( void ); protected: char data_[ SIZE + 1 ]; }; template< size_t SIZE > my_string< SIZE >::my_string( void ) { } class my_funcs { public: my_funcs(void); ~my_funcs(void); protected: void my_f1( my_string<10> &my_str ); }; #endif /* OPENDEC_H_ */ C++ source #include <opendec.h> void my_funcs::my_f1( my_string<10> &mystr ) { }
The example works both with 7.0.2 and 8.0.