Comment

Comment by jcelerier

> The C++ standard does not specify how virtual functions should be implemented. In practice, however, compilers generate a virtual function table and place a pointer to it as the first member of a class.

wishful thinking: https://gcc.godbolt.org/z/qWEe9r

parent jcelerier 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton