CppUnit project page FAQ CppUnit home page

CppUnitMap.h
Go to the documentation of this file.
1#ifndef CPPUNIT_PORTABILITY_CPPUNITMAP_H
2#define CPPUNIT_PORTABILITY_CPPUNITMAP_H
3
4// The technic used is similar to the wrapper of STLPort.
5
7#include <functional>
8#include <map>
9
10
11#if CPPUNIT_STD_NEED_ALLOCATOR
12
13template<class Key, class T>
14class CppUnitMap : public std::map<Key
15 ,T
16 ,std::less<Key>
17 ,CPPUNIT_STD_ALLOCATOR>
18{
19public:
20};
21
22#else // CPPUNIT_STD_NEED_ALLOCATOR
23
24#define CppUnitMap std::map
25
26#endif
27
28#endif // CPPUNIT_PORTABILITY_CPPUNITMAP_H
29
#define CppUnitMap
Definition CppUnitMap.h:24

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