F
Fraser Ross
At 3.9/2 in the standard I can understand that a base class subobject
might have size 0 but is that the reason for it being an exception? If
it is then why does the standard not make this clearer? Is there any
other reason? A reference to a base class can be obtained with
static_cast. I don't see a problem with getting a pointer or reference
to a base class.
Fraser.
might have size 0 but is that the reason for it being an exception? If
it is then why does the standard not make this clearer? Is there any
other reason? A reference to a base class can be obtained with
static_cast. I don't see a problem with getting a pointer or reference
to a base class.
Fraser.