Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only classes with one or more virtual functions have virtual method table. Objects of such classes are called polymorphic objects and they (and only they) have hidden pointer to virtual method table.

https://en.cppreference.com/w/cpp/language/object#Polymorphi...



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

Search: