Hi everybody,

I was trying to define a two dimensional vector under root and it seems I am having problem. I just enter the command

vector < vector > data

and I receive the error:

root [1] vector < vector > data;
Error: Symbol vector<vector >data is not defined in current scope (tmpfile):1:
*** Interpreter error recovered ***

One dimensional vector is just fine.


By default, ROOT provides a dioctionary only for the most basic STL cases. For others you should create a dictionary for the other types of collections with something like

#pragma link C++ class vector<vector >+;

void test() {
vector < vector > data;


Thanks a lot for your time and reply.