title: Workaround for accessing non-static members inside static member functions
body: <p>What are the workarounds for accessing the non-static member variables of some class(Say A) inside static member functions of another class(Say B)? I am coding in c++. Class A is derived with public properties of class B.</p>
  
  <p>Any pointers?</p>