37 #ifndef G4FastVector_h
38 #define G4FastVector_h 1
42 template <
class Type, G4
int N>
54 if (ptr != &theArray[0])
delete [] ptr;
68 if (ptr != &theArray[0])
71 ptr =
new Type*[items];
80 ptr[anIndex] = anElement;
void SetElement(G4int anIndex, Type *anElement)
void Initialize(G4int items)
Type * operator[](G4int anIndex) const