enum を使ったほうが。const であっても静的メンバは配列のサイズ指定に
使えなかったような気が。

class C
{
public:
   enum { width=64, height=64 };

   struct S
   {
      float height[C::height][C::width];//この行と下の行の順番を入れ替えるとなぜかコンパイルできる
      intdata[C::height][C::width];//
   }
};