Book a Demo

Author Topic: C++ operator () reverse engineering  (Read 3285 times)

jmhaapasa

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
C++ operator () reverse engineering
« on: April 22, 2005, 02:03:32 am »
Another noob problem:

EA seems to have trouble reversing the function call operator in C++. Looks like the parser only looks at the first pair of ()s, and fails to notice the parameter list in the second pair.

So, the following class

Code: [Select]

class A
{
...
bool operator ()( X x, Y y );
...
};


Ends up with a method "operator(): bool" in the reversed model, instead of something like "operator()(x: X, y: Y): bool. Forward engineering works fine.

So, has this been addressed before, and could anyone point me to a workaround? Thanks.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C++ operator () reverse engineering
« Reply #1 on: April 25, 2005, 04:18:34 pm »
There hasn't been a resolution on the forum (that I could find) the only related thread would be http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1082491148;start=0#0

However, I've told someone via email that it should be fixed for version 5.0, so with a little bit of patience, downloading and installing that could be your resolution.

Simon

jmhaapasa

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: C++ operator () reverse engineering
« Reply #2 on: April 25, 2005, 08:28:05 pm »
OK, Thanks. We can wait  ;)