如何在SPL中迭代地图?

时间:2014-05-12 17:46:28

标签: spl

我想迭代一张地图,但它在第2行的spl程序" 中提供"未知标识符。

logic state: { mutable map<uint32,rstring> ageNameMap ={}; 
               mutable MapIterator it;//2
       }

知道怎么解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

for (unit32 in ageNameMap){

...
}

这解决了我的问题。