In [1]:
from ROOTaaS.iPyROOT import ROOT


Welcome to ROOTaas Beta

In [2]:
%%cpp
unordered_map<string,int> theMap;


Out[2]:
4549368128L

In [3]:
ROOT.theMap


Out[3]:
<ROOT.unordered_map<string,int> object at 0x10f29d940>

In [5]:
ROOT.theMap["key1"]=123
ROOT.theMap["key2"]=321

In [6]:
%%cpp
for (auto&& el : theMap) std::cout << el.first << " " << el.second << std::endl;


Out[6]:
0L
key2 321
key1 123
key 123

In [ ]: