implementation of pointers to members
Since pointers to members do not affect the size of an object ,they must be computed at the run time only,right?So why use them??In a SO post,it was answered in terms of callbacks;could someone clearly explain it?Also,where are they stored?
Also,why is their a Special provision for this,i could just create a pointer member and do the initialization in the constructor as well?
implementation of pointers to members
===

Since pointers to members do not affect the size of an object ,they must be computed at the run time only,right?So why use them??In a SO post,it was answered in terms of callbacks;could someone clearly explain it?Also,where are they stored?
Also,why is their a Special provision for this,i could just create a pointer member and do the initialization in the constructor as well?