~ubuntu-branches/ubuntu/vivid/psi/vivid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
 
2
#define CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
 
3
 
 
4
// The technic used is similar to the wrapper of STLPort.
 
5
 
 
6
#include <cppunit/Portability.h>
 
7
#include <deque>
 
8
 
 
9
 
 
10
#if CPPUNIT_STD_NEED_ALLOCATOR
 
11
 
 
12
template<class T>
 
13
class CppUnitDeque : public std::deque<T,CPPUNIT_STD_ALLOCATOR>
 
14
{
 
15
public:
 
16
};
 
17
 
 
18
#else // CPPUNIT_STD_NEED_ALLOCATOR
 
19
 
 
20
#define CppUnitDeque std::deque
 
21
 
 
22
#endif
 
23
 
 
24
#endif // CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
 
25