struct MyClass { int foo () { return 0; } }; unsigned int size = sizeof(MyClass::foo); // obviously error
Can we apply sizeof() to mem
sizeof()
Wanted to know if we can at all find the sizeof() a member method.
No, because the C++ language doesn't have such a concept. Or the size of any kind of function.