title: Code compiles on g++ with warning but gives error for same code on clang3.1(Xcode 4.3.3)
body: <p>Following line compiles successfully on g++ but gives error on clang::</p>
  
  <pre><code>static_assert(tBits &lt;= sizeof(ULONG)*8, "This is IO method");
  </code></pre>
  
  <p>g++ warning :: </p>
  
  <blockquote>
    <p>there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available</p>
  </blockquote>
  
  <p>clang error :: </p>
  
  <blockquote>
    <p>use of undeclared identifier 'static_assert'; did you mean 'static_cast'?</p>
  </blockquote>
  
  <p>please help me out.</p>
  
  <p>Function declaration from comment:</p>
  
  <pre><code>template &lt; size_t tBits &gt;
  HRESULT DoIO( std::bitset&lt; tBits &gt;&amp; bitsetToSerialize ) const
  </code></pre>