C++で配列の型のtypedef

配列のtypedefをするときは次のようにする。

//int[2]のtypedef
typedef int type[2];