CppUnit project page
FAQ
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
cppunit
portability
CppUnitSet.h
Go to the documentation of this file.
1
#ifndef CPPUNIT_PORTABILITY_CPPUNITSET_H
2
#define CPPUNIT_PORTABILITY_CPPUNITSET_H
3
4
// The technic used is similar to the wrapper of STLPort.
5
6
#include <
cppunit/Portability.h
>
7
#include <functional>
8
#include <set>
9
10
11
#if CPPUNIT_STD_NEED_ALLOCATOR
12
13
template
<
class
T>
14
class
CppUnitSet
:
public
std::set<T
15
,std::less<T>
16
,CPPUNIT_STD_ALLOCATOR>
17
{
18
public
:
19
};
20
21
#else // CPPUNIT_STD_NEED_ALLOCATOR
22
23
#define CppUnitSet std::set
24
25
#endif
26
27
#endif // CPPUNIT_PORTABILITY_CPPUNITSET_H
28
Send comments to:
CppUnit Developers