/* * fb_vector.h * firebird_test * * Created by john on Fri Dec 14 2001. * Copyright (c) 2001 __MyCompanyName__. All rights reserved. * */ #ifndef INCLUDE_FB_VECTOR_H #define INCLUDE_FB_VECTOR_H #include "../include/fb_types.h" #include "../common/classes/alloc.h" #include namespace Firebird { template class vector : public std::vector > { public: vector(int len) : std::vector >(len) {} vector(int len, MemoryPool& p, SSHORT type = 0) : std::vector >(len, T(), Firebird::allocator(p, type)) {} vector(MemoryPool& p, SSHORT type = 0) : std::vector >( Firebird::allocator(p, type) ) {} }; } // namespace Firebird #endif // INCLUDE_FB_VECTOR_H