Code completion and templates
Vladimir Prus
ghost at cs.msu.su
Fri Dec 7 16:19:16 UTC 2007
I've just tried KDevelop4 trunk with the following program.
class A
{
public:
void method_of_a() {}
};
class B
{
public:
void method_of_b() {}
};
A foo(A a) { return a; }
template<class T> T foo(T t) { return t; }
int main(int argc, char **argv)
{
A a;
B b;
foo(a);
foo(b);
}
If I place cursor after "foo(a)", type dot and then "Ctrl-Space",
I see right completion proposal. If I try the same after "foo(b)",
I get no completion proposals at all. Is this supposed to work?
- Volodya
More information about the KDevelop-devel
mailing list