Small problem with classparser

Karl Günter Wünsch kgw at cswgmbh.de
Mon Sep 27 16:23:19 BST 1999


Hello,

I have been following the development of kdevelop for some time and am
currently using it for a small project of mine. In the course of this I
seem to have stumbled across a small (in my opinion minor) nitpick in
the classparser:

If I declare an operator in a class-header but implement it in some
c++-file both declaration and definition are pointing to the
declaration.

For example:


my.h

class yadda {
public:
     yadda operator *(yadda &a);
}


my.cpp

yadda yadda::operator * (yadda &a)
{
    // FOO
    // BAR
}


regards
Karl Günter Wünsch

P.S.: Great work. If I had more time, I would fix it myself, but... Keep
up the great work!




More information about the KDevelop mailing list