Author Topic: Reference to constructor call not found, destructor reference shouldn't be there  (Read 414 times)

rowbearto

  • Senior Community Member
  • Posts: 2171
  • Hero Points: 132
Look for noconstructorref.tgz on support.

See the instructions in the README.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3657
  • Hero Points: 483
I am putting in some experimental fixes for this in 26.0.1.  This is really tricky business, we have to assume two adjacent identifiers are likely to be part of a declarator.  The code is looking very specifically for:

Code: [Select]
TypeName id(constructor_args);
TypeName id;      // default constructor
TypeName id[n];   // default constructor array items

It also checks for cases where TypeName has template args.  This fix may be great, or it may cause all kinds of problems, in which case it will have to be pulled.

I also put in a fix for the destructor cases.  All of this is targeted for 26.0.1.