title: C++ min function comparison with scalar value
body: <p>I have if statement like this. </p>
  
  <pre><code>typedef float Scalar;
  
  // ...
  
  if ( someScalarValue &gt; std::numeric_limits&lt;Scalar&gt;::min() )
  {
  ...
  }
  </code></pre>
  
  <p>This produces error:</p>
  
  <blockquote>
    <p>E0040 expected an identifier</p>
  </blockquote>
  
  <p>Probably because min asks values.</p>
  
  <p>But I have a code of somebody else in application that this does not produce error. Why this if statement could even work? And how to make it work for me?</p>