Book a Demo

Author Topic: How to model C++typedef?  (Read 2492 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
How to model C++typedef?
« on: January 09, 2005, 01:41:48 am »
How would you model a typedeff of C++?

I think the  most correct way within UML1.5 would be as a specialisation (in case it is not enum).

like :
typedeff long myLong would be in UML

class myLong:long

I asked from Sparxs to resolve the problem that EA does not reverse typdeffs , but then I though that it is not that trivial.

I'm surly missing a lot of cases here, could you think of some? do you think it should be model elseway?
Recursion definition:
If you don’t understand the definition read "Recursion definition".