C++: Problem reversing base class / interface

General discussions about code engineering

Moderator: Moderators

C++: Problem reversing base class / interface

Postby frank.keidel@bmw.de » Thu Jun 20, 2019 1:21 am

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
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Thu Jun 20, 2019 1:03 am

Return to Code engineering

Who is online

Users browsing this forum: No registered users and 5 guests