News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Redundant occurances of member functions in class browser.

Started by indigo0086, February 07, 2007, 05:34:31 PM

Previous topic - Next topic

indigo0086

I am using the nightlies (pretty much happens with them all), and when I create a prototype of a member fucntion such as


public:
   Foo(int , char * );


then in the implementation file I would do
Foo::Foo(int a, char * p) : mya(a), myp(p) {}


the class browser would list two occurances
one for the prototype, with no names, and one for the implementation with variable names.  Is there a way to get rid of redundant occurances, it gets really confusing when browsing my class.  Other than of course using variables in the prototypes, which I find redundant and unnecessary.

TDragon

Quote from: indigo0086 on February 07, 2007, 05:34:31 PM
Other than of course using variables in the prototypes, which I find redundant and unnecessary.
-- Until you start using in-code documentation and documentation generators, of which all I've encountered require named parameters to document prototypes.

Nevertheless, this is indeed a small bug in the Code Completion / Class Browser functionality.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)