Book a Demo

Author Topic: Reverse Engineering Error with C++ Variadic Template Classes  (Read 6860 times)

simmonsd

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reverse Engineering Error with C++ Variadic Template Classes
« on: December 21, 2021, 02:58:34 am »
We have a large existing C++ code base and we are trying to reverse engineer UML Diagrams for our system.  In a several areas of our code base we use a variadic templated classes to support our event system callbacks.  When we try to reverse engineer the code we get errors that we haven't been able to get passed without temporarily changing the code to remove the templates.  We get an unknown error with the variadic "..." used with the templates.

Example of code:
Code: [Select]
line 50:   template <typename... events_t>
line 51:   class MySubscriber : public IMyEventSubscriberImpl<events_t>...
line 52:   {
line 53:    public:

Error Message:
Quote
There was an error parsing.
filename.h on line 51.
Unexpected symbol: .

Is there any known way in Enterprise Arch to support the usage of variadic template classes? Or at least suppress the error message so we can avoid doing a temporary modification to the code when reverse engineering diagrams?