title: Should member functions called from an interrupt be marked as volatile?
body: <p>I have an interrupt in my code which calls several member functions, and these member functions in some cases modify member variables of a class. The member variables are marked as volatile, because they are modified outside the normal flow of the program, but I would like to know if the functions themselves need to be marked as volatile? From a bit of reading, it would seem like it's not required because the object itself does not have to volatile, only some of its members, but I just want to check.</p>