Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
gyy52380
· 3y ago · 0 comments
There is only one vtable object per base class; all shapes share the same vtable pointer and your virtual CornerCount would be shared across all Shape instances. You are describing a potential implementation for class static variables.
Comments
No comments yet.
Better HN