What does the implicitly defined destructor do? Is it just an empty function that is defined by the compiler?
struct Foo
{
int i;
};
struct Bar
{
int i;
~Bar()
{
// empty...
}
};
Is the destruction of Foo identical to Bar? Or does the implicit destructor do something inside of the compiler generated body?