Just to clarify why I think this is conceptually wrong...
If the instructor is providing a class for you to plug into your code, then he/she should be providing everything. Declaring the static member is inappropriate, because you're just compensating for the incompleteness of an external module that SHOULD have been complete.
Like I said, if the instructor links against some object that DOES provide the definition, your own definition will conflict with it. It's just sloppy, that's all.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}