… | |
… | |
269 | { |
269 | { |
270 | typedef slice_allocator<U> other; |
270 | typedef slice_allocator<U> other; |
271 | }; |
271 | }; |
272 | |
272 | |
273 | slice_allocator () throw () { } |
273 | slice_allocator () throw () { } |
274 | slice_allocator (const slice_allocator &o) throw () { } |
274 | slice_allocator (const slice_allocator &) throw () { } |
275 | template<typename Tp2> |
275 | template<typename Tp2> |
276 | slice_allocator (const slice_allocator<Tp2> &) throw () { } |
276 | slice_allocator (const slice_allocator<Tp2> &) throw () { } |
277 | |
277 | |
278 | ~slice_allocator () { } |
278 | ~slice_allocator () { } |
279 | |
279 | |
… | |
… | |
288 | void deallocate (pointer p, size_type n) |
288 | void deallocate (pointer p, size_type n) |
289 | { |
289 | { |
290 | sfree<Tp> (p, n); |
290 | sfree<Tp> (p, n); |
291 | } |
291 | } |
292 | |
292 | |
293 | size_type max_size ()const throw () |
293 | size_type max_size () const throw () |
294 | { |
294 | { |
295 | return size_t (-1) / sizeof (Tp); |
295 | return size_t (-1) / sizeof (Tp); |
296 | } |
296 | } |
297 | |
297 | |
298 | void construct (pointer p, const Tp &val) |
298 | void construct (pointer p, const Tp &val) |