Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between an external iterator and an internal iterator?

1148


Is turbo c++ free?

1126


Is java a c++?

1104


What is the use of setprecision in c++?

1057


How does c++ structure differ from c++ class?

1185


What is a dynamic binding in c++?

1007


What is c++ hash?

1160


What is recursion?

2387


Write a Program to find the largest of 4 no using macros.

1146


Comment on local and global scope of a variable.

1213


What is input operator in c++?

1086


What is nested class in c++?

1019


What is an html tag?

1231


program explaining feautures of c++

2496


Differentiate between an inspector and a mutator ?

1293