News for hackers. Stuff that matters.
Re:Dereferencing NULL Pointer, without a Seg Fault by malkia on Tuesday July 10, 2012 @10:55PM (#4227499)
p->m() ~= m(p) - e.g. the object is pushed as the first argument to the method.

The actual "m" is found by looking at the "p" class if it's non-virtual, and at the "v-table" in p if it's "virtual".

If "m" is static, no class lookup, or object v-table lookup is done, and the call is p->m() ~= m()

There are no comments on this comment yet.