20 #ifndef SELDON_FILE_ALLOCATOR_HXX
37 typedef const T* const_pointer;
39 typedef const T& const_reference;
47 static pointer allocate(
size_t num,
void* h = 0);
48 static void deallocate(pointer data,
size_t num,
void* h = 0);
49 static void* reallocate(pointer data,
size_t num,
void* h = 0);
50 static void memoryset(pointer data,
char c,
size_t num);
51 static void memorycpy(pointer datat, pointer datas,
size_t num);
67 typedef const T* const_pointer;
69 typedef const T& const_reference;
77 static pointer allocate(
size_t num,
void* h = 0);
78 static void deallocate(pointer data,
size_t num,
void* h = 0);
79 static void* reallocate(pointer data,
size_t num,
void* h = 0);
80 static void memoryset(pointer data,
char c,
size_t num);
81 static void memorycpy(pointer datat, pointer datas,
size_t num);
96 typedef const T* const_pointer;
98 typedef const T& const_reference;
106 static pointer allocate(
size_t num,
void* h = 0);
107 static void deallocate(pointer data,
size_t num,
void* h = 0);
108 static void* reallocate(pointer data,
size_t num,
void* h = 0);
109 static void memoryset(pointer data,
char c,
size_t num);
110 static void memorycpy(pointer datat, pointer datas,
size_t num);
123 typedef T value_type;
125 typedef const T* const_pointer;
126 typedef T& reference;
127 typedef const T& const_reference;
135 static pointer allocate(
size_t num,
void* h = 0);
136 static void deallocate(pointer data,
size_t num,
void* h = 0);
137 static void* reallocate(pointer data,
size_t num,
void* h = 0);
138 static void memoryset(pointer data,
char c,
size_t num);
139 static void memorycpy(pointer datat, pointer datas,
size_t num);
152 typedef T value_type;
154 typedef const T* const_pointer;
155 typedef T& reference;
156 typedef const T& const_reference;
164 static pointer allocate(
size_t num,
void* h = 0);
165 static void deallocate(pointer data,
size_t num,
void* h = 0);
166 static void* reallocate(pointer data,
size_t num,
void* h = 0);
167 static void memoryset(pointer data,
char c,
size_t num);
168 static void memorycpy(pointer datat, pointer datas,
size_t num);
173 template<
class Storage,
class T>
178 typedef SELDON_DEFAULT_ALLOCATOR<T> allocator;
184 #define SELDON_FILE_ALLOCATOR_HXX