<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>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.
<p>You can cause this with this code:
<p><tt>tempate<class T,integer n></tt>
<br><tt>class choppedWood</tt>
<br><tt>{</tt>
<br><tt>    public:</tt>
<br><tt>    choppedWood();</tt>
<br><tt>    ~choppedWood();</tt>
<br><tt>};</tt><tt></tt>
<p><tt>class fireWood : public choppedWood<double,2></tt>
<br><tt>{</tt>
<br><tt>    public:</tt>
<br><tt>    fireWood();</tt>
<br><tt>    ~fireWood();</tt>
<br><tt>};</tt>
<br><tt></tt> <tt></tt>
<p><tt>This generates something like:</tt><tt></tt>
<p><tt>--------------------------------------</tt><tt></tt>
<p><tt>choppedWood<double</tt>
<br><tt>               
|</tt>
<br><tt>               
|</tt>
<br><tt>               
L---> fireWood</tt><tt></tt>
<p><tt>2></tt>
<br><tt> |</tt>
<br><tt> |</tt>
<br><tt> L--> fireWood</tt><tt></tt>
<p><tt>choppedWood</tt><tt></tt>
<p><tt>---------------------------------------</tt><tt></tt>
<p><tt>Hope this is a useful comment.</tt><tt></tt>
<p><tt>Keep up the GREAT work,</tt>
<br><tt>                           
Michael Peeters</tt>
<br> 
<br> 
<br> 
<br> </html>