Menu

Bug Report for Class Viewer (in 4.9.3.0)

VincentG
2002-05-16
2012-09-26
  • VincentG

    VincentG - 2002-05-16

    The class viewer seems ton not support inline definition well. (I know, it's still in development but who knows... ;-)
    ----------------------------
    Declaring somethin like:
    int indent=0;
    struct _Indent {
        _Indent() {indent++; }
        ~_Indent() {indent--; }
       
        string get_indent() const { string res; for(int i=0;i<indent;++i) res+="   "; return res; }
    };
    --------------------------------
    Produces this class browser tree:
    +-+ ~_Indent() { indent
      +-- _Indent

     
    • Yiannis Mandravellos

      Well, this "~_Indent() { indent" doesn't happen now. It was fixed just after the 4.9.3.0 release. But I just found out another small bug.

      Thanks!
      Yiannis. :)

      P.S. Next time enter a bug-report through the bug-tracking system. We check those reports every day.

       

Log in to post a comment.