1 #ifndef CPPUNIT_PORTABILITY_CPPUNITSTACK_H
2 #define CPPUNIT_PORTABILITY_CPPUNITSTACK_H
4 // The technic used is similar to the wrapper of STLPort.
6 #include <cppunit/Portability.h>
11 #if CPPUNIT_STD_NEED_ALLOCATOR
14 class CppUnitStack : public std::stack<T
15 ,std::deque<T,CPPUNIT_STD_ALLOCATOR> >
20 #else // CPPUNIT_STD_NEED_ALLOCATOR
22 #define CppUnitStack std::stack
26 #endif // CPPUNIT_PORTABILITY_CPPUNITSTACK_H