P
pembed2003
Hi all,
If I have the following:
class Foo{
void something(void){;}
};
and then later I say:
Foo f;
cout<<sizeof f<<endl;
It tells me the size of f is 1 byte. I wonder how does C++ know the
size of f is one byte. Is it because the implicit 'this' pointer?
Thanks!
If I have the following:
class Foo{
void something(void){;}
};
and then later I say:
Foo f;
cout<<sizeof f<<endl;
It tells me the size of f is 1 byte. I wonder how does C++ know the
size of f is one byte. Is it because the implicit 'this' pointer?
Thanks!