User forums > Using Code::Blocks

Redundant occurances of member functions in class browser.

(1/1)

indigo0086:
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 * );

--- End code ---

then in the implementation file I would do

--- Code: ---Foo::Foo(int a, char * p) : mya(a), myp(p) {}

--- End code ---

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.

--- End quote ---
-- 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.

Navigation

[0] Message Index

Go to full version