title: C++ syntax question: if var != type int
body: <p>I am trying to write an if statement but cannot find the proper expression form to use. I'm thinking of writing something like this:</p>
  
  <pre><code>if ( var != type(int) )
  </code></pre>
  
  <p>However, I am unsure exactly how to go about doing this, and this method does not work.</p>
  
  <p>Am I at least thinking along the right lines?</p>