summaryrefslogtreecommitdiffstats
blob: 6666a63b0d0c20fb83f8a2393a2c1dff7ff30991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
#define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H

// The technic used is similar to the wrapper of STLPort.
 
#include <cppunit/Portability.h>
#include <vector>


#if CPPUNIT_STD_NEED_ALLOCATOR

template<class T>
class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR>
{
public:
};

#else // CPPUNIT_STD_NEED_ALLOCATOR

#define CppUnitVector std::vector

#endif

#endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H