More Bug's in the classparser...
Tobias Erbsland
drzoom at profzone.ch
Thu Dec 16 15:46:24 GMT 1999
Hello
Can the classparser handle "pointer to memberfunctions"? I think no, the
classview in my project is unusable since i need functions with this
feature.
Try this out:
class Tc {
public:
struct a_t
{
int a;
};
a_t fn1( Tc * );
}
Tc::a_t Tc::fn1( Tc * p )
{
a_t a;
return a;
};
namespace ns {
bool fn( Tc::a_t (Tc::*mfp)(Tc *) );
}
bool ns::fn( Tc::a_t (Tc::*mfp)(Tc *) )
{
Tc c;
Tc::a_t a;
a = (c.*mfp)(&c);
return true;
}
Section 30...
http://www.informatik.uni-konstanz.de/~kuehl/cpp/cppfaq.htm/
Any ideas?
Tobias
More information about the KDevelop
mailing list