prog.cpp: In constructor 'A::TimerService::TimerService()':
prog.cpp:6:35: error: cannot call member function 'void A::callAFunctionHere()' without object
callAFunctionHere();
^
prog.cpp: In function 'int main()':
prog.cpp:4:16: error: 'struct A::TimerService' is private
struct TimerService {
^
prog.cpp:14:12: error: within this context
A::TimerService ts;
^