Sizeof of iterator?

the following code works only compiled and crashes in cint interpretation mode. Isn’t it cint limitation?#include <iostream> #include <vector> using namespace std; void funcA(){ vector<double*> datapol; for(int i=0;i<10;i++){ cout<<"OK"<<endl; datapol.push_back(new double); cout<<sizeof(datapol.begin())<<endl; cout<<"OK"<<endl; }; }thanks in advance,
Fedor

Hi,

This is a problem with the bycode optimizer in CINT. This part is being completely rewritten and should be available sometime next year.

In the meantime you can work around the problem by disabling the CINT optimization (or compiling):

Cheers,
Philippe