Page 1 of 1

C++: Problem reversing base class / interface

PostPosted: Thu Jun 20, 2019 1:21 am
by frank.keidel@bmw.de
Hi,
I tried to reverse my project. I get the following parse errors for the interface class/struct below. Doesn't MagicDraw Reverse support inheritance for C++?

unexpected token: virtual
unexpected token: ~


#ifndef MYCLASS_H
#define MYCLASS_H

#include <some_other_class.h>

struct IMyInterface
{
virtual ~IMyInterface() = default;
virtual const SomeOtherClass& GetSomething() const = 0;
};

#endif // MYCLASS_H