Please consider this on


U need to mention he class name of which the add() function is the member...

Modify line
(e.m)(8);
To
(t .*(e.m)) (8)