How does GCC store member functions in memory?

I am trying to minimise the size my class occupies in memory (both data and instructions). I know how to minimise data size, but I am not too familiar with how GCC places member functions.

Are they stored in memory, the same order they are declared in the class?


Source: gcc

Leave a Reply