So now struct can have virtual function and support inheritance ? What difference with classes then ? What the true purpose of information hiding?
What are the differences between struct and class in C++?