Last change
on this file since 876 was
876,
checked in by sam, 9 years ago
|
contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.
|
File size:
459 bytes
|
Line | |
---|
1 | #ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H |
---|
2 | #define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H |
---|
3 | |
---|
4 | // The technic used is similar to the wrapper of STLPort. |
---|
5 | |
---|
6 | #include <cppunit/Portability.h> |
---|
7 | #include <vector> |
---|
8 | |
---|
9 | |
---|
10 | #if CPPUNIT_STD_NEED_ALLOCATOR |
---|
11 | |
---|
12 | template<class T> |
---|
13 | class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR> |
---|
14 | { |
---|
15 | public: |
---|
16 | }; |
---|
17 | |
---|
18 | #else // CPPUNIT_STD_NEED_ALLOCATOR |
---|
19 | |
---|
20 | #define CppUnitVector std::vector |
---|
21 | |
---|
22 | #endif |
---|
23 | |
---|
24 | #endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.