Possibly unfortunately, I created C++ class to be a redirect to this article. Then again, this article would be a bit strange if it were titled "C++ class" without its contents being changed to refer to classes instead of structs for most of the article. 

I'm not sure what that example was there to prove. I didn't know that would work, but it doesn't change the fact that the struct and class keywords aren't literally interchangeable (you can't cast a struct A* to a class A* when only a struct A type has been defined, for instance).

–(t)