Hello,
I am trying to use the STL set container in a script. Here is a minimal example:
#include <set>
#include "TRandom1.h"
void XfromY(Int_t x, Int_t y) {
TRandom1 R;
set<Int_t> s;
}
I load and run the script as follows:
root [0] .L XfromY.C
root [1] XfromY(10,14)
Error: Symbol set<Int_t>s is not defined in current scope XfromY.C:8:
*** Interpreter error recovered ***
Am I doing something wrong or is CINT incapable of using the STL?
Thanks,
Roger
Received on Tue Apr 20 2010 - 15:16:38 CEST
This archive was generated by hypermail 2.2.0 : Tue Apr 20 2010 - 17:50:02 CEST