Code completion fails if object's ctor has args
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
This seems to be a problem across all 4.9.8.x, and I
don't see a similar report in the last month of forum
entries or bug reports. However, I am new to Dev-
C++, and this is probably already known.
Given the simple program:
class C {
int mI;
public:
C() { mI = 0; }
C(int i) : mI(i) { };
~C() {};
void Set(int i) { mI = i; }
int Val() { return mI; }
};
int main(int argc, char *argv[]) {
C c1; c1.Set(42);
C c2(42);
// Typing "c1." here invokes code completion.
// Typing "c2." here does not, but should!
return 0;
}
Mike