public:
T * array;
- uint count;
- uint minAllocSize;
+ uintsize count;
+ uintsize minAllocSize;
~Array()
{
count++;
return (IteratorPointer)(after ? (after + 1) : array);
*/
- uint tsize = Tsize;
+ uintsize tsize = Tsize;
byte * pos = ip ? ((byte *)ip + tsize) : (byte *)array;
if(count+1 > minAllocSize)
{
virtual int GetCount() { return count; }
- property uint size
+ property uintsize size
{
get { return count; }
set
if(value > minAllocSize)
array = renew0 array T[value];
else if(value > count)
- memset(array + count, 0, (value - count) * Tsize);
+ memset(array + count, 0, (uint64)(value - count) * Tsize);
count = value;
}
}
}
- property uint minAllocSize
+ property uintsize minAllocSize
{
get { return minAllocSize; }
set