Book a Demo

Author Topic: c++ namespace generation problem  (Read 1936 times)

stourangeau

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
c++ namespace generation problem
« on: October 07, 2008, 01:37:00 pm »
Hi,

I enabled namespaces for C++ code generation.

Problem is, all my return types and parameters to my methods get fully qualified names, including the local namespace... is there a way to prevent that ?

Here's an example of generated code

namespace ns
{
    class myClass
   {
        ns::myOtherClass MyFunction(ns::anotherClass parm) {}
   };
}

Since the namespace is the same, shouldn't it skip it in the qualified name ?

Thanks