CppUnit project page FAQ CppUnit home page

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

CppUnitMap.h

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

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