#964 C++11 uniform initialization tag issues.

v1.22
closed-duplicate
nobody
None
5
2014-03-23
2013-06-01
Lex Trotman
No

Geany 1.24 44fcdf1b

Using uniform initializers with C++11 class and object declarations mistakenly treats the object as a typename, eg in

class a { int b; } *c {nullptr};

a and c become classnames, classes in the symbol pane and coloured as a class name.

class a { int b; }; a *c {nullptr};

a remains a class name but now c is an object again, not a class.

Related

Bugs: #907

Discussion

  • Lex Trotman
    Lex Trotman
    2013-06-08

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -14,3 +14,6 @@
     ~~~~~
    
     a remains a class name but now c is an object again, not a class.
    +
    +
    +
    
    • status: open --> closed-duplicate
     
  • Lex Trotman
    Lex Trotman
    2013-06-08

    Moved to [#907] which is a c++11 aggregate bug

     

    Related

    Bugs: #907


    Last edit: Colomban Wendling 2013-07-15