Menu

#559 Default Constructor poorly refrncd by Cls Br'sr/AutoComplete

open
nobody
5
2012-09-26
2005-05-21
FingerSoup
No

Using Dev-C++ 4.9.9.2

Given any class, crossing 2 files as such:

foo.h

class Foo{
...
Public:
Foo(); //Default Constructor
Foo(int a, int b); // Another constructor
int bar(int a, int b); // any member Function
...
};

foo.cpp

include "foo.h"

Foo::Foo()
{
...
}

Foo::Foo(int a, int b)
{
...
}
int Foo::bar(int a)
{
...
}

Autocomplete sees Foo() as a Function, not a
Constructor, such as Foo(int a, int b).

Clicking on the class browser's Foo(), goes to the code
in foo.h, not foo.cpp as is done by Foo(int a, int b)
and bar(int a).

Adding a void parameter to Foo() causes the same results.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.