This is more of a question than a problem but I am not sure where to ask. I went to cppinsights.io using the link from github. My generated output is shown below. It doesn't have all the compiler generated constructors and destructor. What gives ?
#include
#include
class Base
{
public:
// inline constexpr Base() noexcept = default;
};
class Derived : public Base
{
public:
// inline constexpr Derived() noexcept = default;
};
int main()
{
Derived d;
Base & b = static_cast<Base&>(d);
return 0;
}