title: Const-Qualification of Main's Parameters in C++
body: <p>The C++ standard mandates that all conforming implementations support the following two signatures for <code>main</code>:</p>
  
  <ul>
  <li><code>int main();</code></li>
  <li><code>int main(int, char*[]);</code></li>
  </ul>
  
  <p>In case of the latter signature, would the addition of (top-level) <code>const</code>-ness break any language rules?</p>
  
  <p>For example: </p>
  
  <p><code>int main(const int argc, char** const argv)</code>;</p>
  
  <p>From my understanding, top-level <code>const</code> qualification doesn't affect the function's signature hash, so it should be legal as far as the specification is concerned.</p>
  
  <p>Also, did anyone ever encounter an implementation which rejected this type of modification?</p>