CppUnitVector.h 459 B

12345678910111213141516171819202122232425
  1. #ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
  2. #define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
  3. // The technic used is similar to the wrapper of STLPort.
  4. #include <cppunit/Portability.h>
  5. #include <vector>
  6. #if CPPUNIT_STD_NEED_ALLOCATOR
  7. template<class T>
  8. class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR>
  9. {
  10. public:
  11. };
  12. #else // CPPUNIT_STD_NEED_ALLOCATOR
  13. #define CppUnitVector std::vector
  14. #endif
  15. #endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H