Hi Daan, Even with -O0, the compiler *KNOWS* that foo is a Foo (regardless of your copy constructor shenanigans), and hence can call Foo::foo directly in main, without using the vfntbl lookup. HTH, --Eljay
Hi Daan, Even with -O0, the compiler *KNOWS* that foo is a Foo (regardless of your copy constructor shenanigans), and hence can call Foo::foo directly in main, without using the vfntbl lookup. HTH, --Eljay