Hacker News new | past | comments | ask | show | jobs | submit login

My personal experience has been that vtables:

(1) occasionally show up in learning materials regarding virtual methods, virtual inheritance, static vs. dynamic types, and RTTI, and

(2) sometimes understanding them is very helpful when debugging gnarly problems, especially with objects that have been wrongly typecast. I.e., you can inspect vtables in gdb.

Maybe the takeaway here is that C++ is a huge topic, and different people have had to learn different details.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: