00001
00002
00003 #ifndef VECTOR_H
00004 #define VECTOR_H
00005
00006 #include <vector>
00007 #include "osl/stl/pool_allocator.h"
00008
00009 namespace osl
00010 {
00011 namespace stl
00012 {
00013
00014
00015 template <class T>
00016 struct vector : public std::vector<T>
00017 {
00018 typedef std::vector<T> base_t;
00019 vector() {}
00020 explicit vector(size_t s);
00021 vector(size_t s, const T& val) : base_t(s,val)
00022 {
00023 }
00024 vector(const typename base_t::const_iterator it1, const typename base_t::const_iterator it2)
00025 : base_t(it1, it2)
00026 {}
00027 ~vector();
00028 };
00029 template <class T>
00030 vector<T>::~vector()
00031 {
00032 }
00033 template <class T>
00034 vector<T>::vector(size_t s) : base_t(s)
00035 {
00036 }
00037 }
00038 using stl::vector;
00039 }
00040
00041 #endif
00042
00043
00044
00045