CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CppUnitVector.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
00002 #define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
00003 
00004 // The technic used is similar to the wrapper of STLPort.
00005  
00006 #include <cppunit/Portability.h>
00007 #include <vector>
00008 
00009 
00010 #if CPPUNIT_STD_NEED_ALLOCATOR
00011 
00012 template<class T>
00013 class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR>
00014 {
00015 public:
00016 };
00017 
00018 #else // CPPUNIT_STD_NEED_ALLOCATOR
00019 
00020 #define CppUnitVector std::vector
00021 
00022 #endif
00023 
00024 #endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
00025 

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers