Author Topic: Redundant occurances of member functions in class browser.  (Read 3134 times)

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Redundant occurances of member functions in class browser.
« on: February 07, 2007, 05:34:31 pm »
I am using the nightlies (pretty much happens with them all), and when I create a prototype of a member fucntion such as

Code
public:
   Foo(int , char * );

then in the implementation file I would do
Code
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.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Redundant occurances of member functions in class browser.
« Reply #1 on: February 07, 2007, 07:35:00 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.
« Last Edit: February 07, 2007, 07:36:33 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)