void CheckObjArray() { TObjArray Arr; //Empty array cout << "Before access to an empty array Arr.GetEntriesFast() = " << Arr.GetEntriesFast() << endl; TObject *ptr = Arr[0]; //Should report "off bounds" error? cout << "After access to an empty array Arr.GetEntriesFast() = " << Arr.GetEntriesFast() << endl; }