All pastes #115449 Raw Edit

understanding thread

public text v1 · immutable
·published 2006-08-04 16:11 UTC
rendered paste body
int (TMyClass::*pt2Member)(float, char, char) = NULL;
// C++ int (TMyClass::*pt2ConstMember)(float, char, char) const = NULL;

Hi I am currently reading articles on function and pointer to members and Im just trying to figure out why the second function would have const = NULL in it? what is the difference between a const and non const pointer also see how they seem to asign a null to the function prototypes does this automatically assign NULL to *pt2Member and *pt2MemberConstMember if someone could clarify what is happening here and also if I was correct about which items are getting assigned null I am still unsure why a const NULL is needed