BUG in Graphical Classview Parser Kdevelop1.1

Michael Peeters root at alna.vub.ac.be
Tue Apr 25 10:13:57 BST 2000


Hi,

I would like to report a bug in the graphical classview parser: when you
have classes dervied off templated classes with more than one parameter
, the parser generates 2 class trees, one with the part up to the comma
in the template declaration, and one with the rest. Hmmm - after reading
this, I imagine it might not be clear.

You can cause this with this code:

tempate<class T,integer n>
class choppedWood
{
    public:
    choppedWood();
    ~choppedWood();
};

class fireWood : public choppedWood<double,2>
{
    public:
    fireWood();
    ~fireWood();
};


This generates something like:

--------------------------------------

choppedWood<double
                |
                |
                L---> fireWood

2>
 |
 |
 L--> fireWood

choppedWood

---------------------------------------

Hope this is a useful comment.

Keep up the GREAT work,
                            Michael Peeters




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20000425/9e9d136e/attachment.html>


More information about the KDevelop mailing list