Iterator beginnings.

This commit is contained in:
Gav Wood 2014-01-18 23:00:35 +00:00
parent 083bbe4fd1
commit 36a23c387b

View File

@ -229,13 +229,6 @@ int main()
} }
}; };
add("doe", "reindeer");
add("do", "verb");
add("doge", "coin");
m.clear();
d.init();
t.remove("doe"); t.remove("do"); t.remove("doge");
s.clear();
add("dogglesworth", "cat"); add("dogglesworth", "cat");
add("doe", "reindeer"); add("doe", "reindeer");
remove("dogglesworth"); remove("dogglesworth");
@ -247,10 +240,10 @@ int main()
remove("doge"); remove("doge");
remove("doe"); remove("doe");
for (int a = 0; a < 200; ++a) for (int a = 0; a < 20; ++a)
{ {
StringMap m; StringMap m;
for (int i = 0; i < 200; ++i) for (int i = 0; i < 20; ++i)
{ {
auto k = randomWord(); auto k = randomWord();
auto v = toString(i); auto v = toString(i);