mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Iterator beginnings.
This commit is contained in:
parent
083bbe4fd1
commit
36a23c387b
11
main.cpp
11
main.cpp
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user