Re:Redesigning Python's named tuples
by hasenj on Friday September 01, 2017 @04:36AM
(#15146998)
Don't C++ classes (and therefore structs) have a hidden vtable?
[ Parent
| on HN ]
vtable is always "hidden". It's only there when there is at least one virtual member defined. Sole difference between class and struct in C++ is default visibility.
class A {
int a; // private
}
struct A {
int a; // public
}