2
0

CppUnitSet.h 540 B

12345678910111213141516171819202122232425262728
  1. #ifndef CPPUNIT_PORTABILITY_CPPUNITSET_H
  2. #define CPPUNIT_PORTABILITY_CPPUNITSET_H
  3. // The technic used is similar to the wrapper of STLPort.
  4. #include <cppunit/Portability.h>
  5. #include <functional>
  6. #include <set>
  7. #if CPPUNIT_STD_NEED_ALLOCATOR
  8. template<class T>
  9. class CppUnitSet : public std::set<T
  10. ,std::less<T>
  11. ,CPPUNIT_STD_ALLOCATOR>
  12. {
  13. public:
  14. };
  15. #else // CPPUNIT_STD_NEED_ALLOCATOR
  16. #define CppUnitSet std::set
  17. #endif
  18. #endif // CPPUNIT_PORTABILITY_CPPUNITSET_H