int main(){AList A(10);for(int i=0;i<10;i++)cout<<A[i]<<endl;}错误吗?
参考:http://www.codeproject.com/Articles/276955/AList-A-Cplusplus-Assosiative-Array