MCPcopy Create free account
hub / github.com/KDE/kdevelop / main

Function main

plugins/debuggercommon/tests/debuggees/qmultimapint.cpp:2–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <QMultiMap>
2int main()
3{
4 QMultiMap<int, int> m;
5 m.insert(10, 100);
6 m.insert(20, 200);
7 m.insert(30, 300);
8
9 m.insert(10, 123);
10 m.insert(30, 82);
11 m.insert(4, 99);
12 m.insert(10, 0);
13 m.insert(30, 300); // insert another element {30, 300}
14 m.remove(20, 200);
15
16 return 0;
17}

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected