What function does C++ write and call in an empty class?
The functions exist, but can be inlined. When the compiler inlines the functions, it realizes they are no-ops, and there is no code generated. What the book is saying, is true to an extent, the notional functions are created by the compiler, for inline and direct calling. But the generated code is empty, so an … Read more