title: A standard way for getting variable name at compile time
body: <p>Is there some way in C++11 or higher to achieve a similar behavior to:</p>
  
  <pre><code>int some_int;
  std::string x=variable_name&lt;some_int&gt;::value; //Theoretical code 
  std::cout &lt;&lt; x;
  </code></pre>
  
  <p>Result should be: </p>
  
  <blockquote>
    <p>some_int</p>
  </blockquote>
  
  <p>If not, is there a compiler specific way to do it? I am targeting MSVS.</p>