-
-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Output is incorrect when special member function is marked default outside of a class definition:
struct Base
{
Base();
Base(const Base &);
~Base();
};
Base::Base() = default;
Base::Base(const Base &) = default;
Base::~Base() = default;
Output is:
struct Base
{
Base();
;
Base(const Base &);
;
~Base() noexcept;
;
};
Base::Base() = default;
{
}
= default;
Base::Base(const Base &) = default;
{
}
= default;
Base::~Base() noexcept
{
}
= default;
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working