26 lines
451 B
C
26 lines
451 B
C
|
#ifndef CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||
|
#define CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||
|
|
||
|
// The technic used is similar to the wrapper of STLPort.
|
||
|
|
||
|
#include <cppunit/Portability.h>
|
||
|
#include <deque>
|
||
|
|
||
|
|
||
|
#if CPPUNIT_STD_NEED_ALLOCATOR
|
||
|
|
||
|
template<class T>
|
||
|
class CppUnitDeque : public std::deque<T,CPPUNIT_STD_ALLOCATOR>
|
||
|
{
|
||
|
public:
|
||
|
};
|
||
|
|
||
|
#else // CPPUNIT_STD_NEED_ALLOCATOR
|
||
|
|
||
|
#define CppUnitDeque std::deque
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif // CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
|
||
|
|