Hi,
Probably this is a stupid question. I am facing problem with std::vector in root 5.12/00.
void test()
{
std::vector<int> n;
for(int i=0; i<10; i++){
n.push_back(i);
}
std::cout << n.size() << std::endl;
}
error:
Error: Can’t call vector<int,allocator >::push_back(i) in current scope test.C:9:
Possible candidates are…
(in vector<int,allocator >)
*** Interpreter error recovered ***
Thanks