Why seem interrupt handlers as member functions to be impossible?
Answer / rohit sah
Interrupt handlers as member functions _are_ possible. But they must be static member functions. Static member functions don't make use of the implicit 'this' pointer required by normal member functions. The caller of the interrupt handler doesn't know anything about objects and 'this' pointers, so it can't pass a value of such a pointer.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the two shift operators and what are their functions?
Is there structure in c++?
What are 2 ways of exporting a function from a dll?
Why is c++ still best?
What are c++ stream classes?
What is an adaptor class or Wrapper class?
What is dangling pointers?and what is memory leak?
Explain the auto storage classes in c++.
What is binary object model?
What is the extension of c++?
Why pointer is used in c++?
Who made c++?