23 #include <ktorrent_export.h>
24 #include "constants.h"
41 Array(Uint32 num = 0) : num(num),data(0)
52 T & operator [] (Uint32 i) {
return data[i];}
53 const T & operator [] (Uint32 i)
const {
return data[i];}
55 operator const T* ()
const {
return data;}
56 operator T* () {
return data;}
59 Uint32
size()
const {
return num;}
67 for (Uint32 i = 0;i < num;i++)