-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
As of this writing,
struct S {};
class T : virtual S {};
is transformed into
struct S
{
// inline constexpr S & operator=(const S &) = default;
// inline constexpr S & operator=(S &&) = default;
// inline ~S() = default;
};
class T : private S
{
public:
// inline T & operator=(const T &) = default;
// inline T & operator=(T &&) = default;
// inline ~T() = default;
};
which loses the "virtual" part of the virtual inheritance.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working