Book a Demo

Author Topic: C++ sources: templates, typedefs etc...  (Read 3189 times)

balda

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
C++ sources: templates, typedefs etc...
« on: July 22, 2004, 01:35:21 am »
Hi,
Just wanted to try out EA with respect to managing C++ projects. So, I started the trial.

I have got problems from the real beginning. Diagram generated for the simple source like
Code: [Select]

template< class T, std::size_t N >
class A{};

has mistakes: 'std' treated as Parameter type, and '::size_tN' as Parameter. Inclusion of 'std::size_t' to 'Language Datatypes' for C++ did not help.

There is a common practice in heavy usage of typedefs while programming in C++ with templates. It looks like EA does not understand the typedefs at all. Or, possibly, I am doing something really wrong??? Help me, please.

Some additional questions: Is there a way to make an engeneering of an imported source in such a way that namespaces will end up as packages in the model?

Are there plans to use alternative source control tools (I mean CVS and Subversion)?

Barry_Pearce

  • EA User
  • **
  • Posts: 70
  • Karma: +0/-0
    • View Profile
Re: C++ sources: templates, typedefs etc...
« Reply #1 on: July 22, 2004, 03:45:36 am »
With regard to typedefs - no it doesnt...we have reported this as an issue - it is not posible to fix in the code-gen templates.

balda

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: C++ sources: templates, typedefs etc...
« Reply #2 on: July 22, 2004, 04:04:02 am »
Quote
With regard to typedefs - no it doesnt...we have reported this as an issue - it is not posible to fix in the code-gen templates.

It is really disappointing...  :-[

Barry_Pearce

  • EA User
  • **
  • Posts: 70
  • Karma: +0/-0
    • View Profile
Re: C++ sources: templates, typedefs etc...
« Reply #3 on: July 22, 2004, 04:12:49 am »
Yet. :) We hope that EA will resolve a number of issue with templates RSN.

balda

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: C++ sources: templates, typedefs etc...
« Reply #4 on: July 22, 2004, 06:42:25 am »
Hm... Any idea when it may happen?

Is there a possibility to start the evaluation once more then? I mean when the template/typedef and may be something else are available?  ;D