00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00018 #ifndef LIBCWD_PRIVATE_INTERNAL_VECTOR_H
00019 #define LIBCWD_PRIVATE_INTERNAL_VECTOR_H
00020
00021 #ifndef LIBCWD_CONFIG_H
00022 #include <libcwd/config.h>
00023 #endif
00024 #ifndef LIBCWD_PRIVATE_ALLOCATOR_H
00025 #include <libcwd/private_allocator.h>
00026 #endif
00027 #ifndef LIBCW_VECTOR
00028 #define LIBCW_VECTOR
00029 #include <vector>
00030 #endif
00031
00032 namespace libcwd {
00033 namespace _private_ {
00034
00035
00036 #if CWDEBUG_ALLOC
00037 template <typename T>
00038 struct internal_vector : public ::std::vector<T, typename internal_allocator::rebind<T>::other>
00039 { };
00040 #else
00041 template <typename T>
00042 struct internal_vector : public ::std::vector<T>
00043 { };
00044 #endif
00045
00046 }
00047 }
00048
00049 #endif // LIBCWD_PRIVATE_INTERNAL_VECTOR_H
00050