cppunitset.h

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

H
29
字号
#ifndef CPPUNIT_PORTABILITY_CPPUNITSET_H
#define CPPUNIT_PORTABILITY_CPPUNITSET_H

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


#if CPPUNIT_STD_NEED_ALLOCATOR

template<class T>
class CppUnitSet : public std::set<T
                                  ,std::less<T>
                                  ,CPPUNIT_STD_ALLOCATOR>
{
public:
};

#else // CPPUNIT_STD_NEED_ALLOCATOR

#define CppUnitSet std::set

#endif

#endif // CPPUNIT_PORTABILITY_CPPUNITSET_H

⌨️ 快捷键说明

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