title: print variable name in a #define
body: <p>I am trying to print out to console using a macro the variable name for display members value while debugging ( logging ).
  How to do that? I tried the following but it doesnt' work.</p>
  
  <pre><code>#define MY_PRINT(x) std::cout &lt;&lt; "'x'=" &lt;&lt; x &lt;&lt; std::endl;
  
  int main(){
     int my_variable=3;
     MY_PRINT( my_variable );
     // I would like to print to console
     // 'my_variable'=3
  }
  </code></pre>