Is passing an enum value to an int parameter non standard?
<p>Example:</p>

<pre><code>enum SomeEnum
{
   DD,
   PP,
   NN
};

void someFunc(int a)
{
}

int main()
{
  SomeEnum e = DD;
   someFunc(a) // calls someFunc with value 0
  return 0;
}
</code></pre>

<p>This works in MSVC but is it non standard?</p>

<p>Thanks</p>
