cppunitmap.h

来自「浙江大学的悟空嵌入式系统模拟器」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef CPPUNIT_PORTABILITY_CPPUNITMAP_H
#define CPPUNIT_PORTABILITY_CPPUNITMAP_H

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


#if CPPUNIT_STD_NEED_ALLOCATOR

template<class Key, class T>
class CppUnitMap : public std::map<Key
                                  ,T
                                  ,std::less<Key>
                                  ,CPPUNIT_STD_ALLOCATOR>
{
public:
};

#else // CPPUNIT_STD_NEED_ALLOCATOR

#define CppUnitMap std::map

#endif

#endif // CPPUNIT_PORTABILITY_CPPUNITMAP_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?