Default Constructor poorly refrncd by Cls Br'sr/AutoComplete
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
Using Dev-C++ 4.9.9.2
Given any class, crossing 2 files as such:
class Foo{
...
Public:
Foo(); //Default Constructor
Foo(int a, int b); // Another constructor
int bar(int a, int b); // any member Function
...
};
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.