CppUnitDeque.h 451 B

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