Why seem interrupt handlers as member functions to be impossible?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between an external iterator and an internal iterator?
Is turbo c++ free?
Is java a c++?
What is the use of setprecision in c++?
How does c++ structure differ from c++ class?
What is a dynamic binding in c++?
What is c++ hash?
What is recursion?
Write a Program to find the largest of 4 no using macros.
Comment on local and global scope of a variable.
What is input operator in c++?
What is nested class in c++?
What is an html tag?
program explaining feautures of c++
Differentiate between an inspector and a mutator ?