~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/portability/CppUnitMap.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 
6
 
#include <cppunit/Portability.h>
7
 
#include <functional>
8
 
#include <map>
9
 
 
10
 
 
11
 
#if CPPUNIT_STD_NEED_ALLOCATOR
12
 
 
13
 
template<class Key, class T>
14
 
class CppUnitMap : public std::map<Key
15
 
                                  ,T
16
 
                                  ,std::less<Key>
17
 
                                  ,CPPUNIT_STD_ALLOCATOR>
18
 
{
19
 
public:
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