Book a Demo

Author Topic: = Operator code generation  (Read 2650 times)

dbetsing

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
= Operator code generation
« on: March 18, 2011, 06:01:20 am »
I am generating C++ code from EA.  Does anyone know if there is a way to have the model automatically generate an = operator (assignment operator) into the code or to automatically add it to a class within the model (and then be able to generate it)?

Thanks

Doug

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: = Operator code generation
« Reply #1 on: March 18, 2011, 08:39:21 am »
Not automatically, but if you name an operation "operator=" it will generate it.