sizeof member computation error
<p>I have such a structure (for some reason I cant just use an array):</p>

<pre><code>  struct OperatorData 
  {
    char m_record_0[RIX_OPERATOR_CONFIG_SIZE];
    char m_record_1[RIX_OPERATOR_CONFIG_SIZE];
    //....
    char m_record_9[RIX_OPERATOR_CONFIG_SIZE];
  };
</code></pre>

<p>And I am trying to calculate amount of fields at compile-time:</p>

<pre><code>enum {fieldsAmount = sizeof(OperatorData) / sizeof(OperatorData::m_record_0)};
</code></pre>

<p>And the compiler reports such a message:</p>

<pre><code>Error:  #245: a nonstatic member reference must be relative to a specific object
  enum{fieldsAmount = sizeof(OperatorData) / sizeof(OperatorData::m_record_0)};
                                                                  ^
</code></pre>

<p>I use keil uVision3 V3.60.
It doesn't matter where I place enum declaration inside or outside the structure. 
Why can't the compiler take size of this membmer?</p>
