summaryrefslogtreecommitdiff
path: root/include/cppunit/portability
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-11 08:44:46 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-11 09:09:46 +0100
commit2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d (patch)
tree743ecbb456327ad21d7899eb93c06eb75d890956 /include/cppunit/portability
parente8c0def96e6ca4370377747bda1d8a8c0dab4867 (diff)
downloadcppunit-2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d.tar.gz
remove support for old broken C++ compilers
Diffstat (limited to 'include/cppunit/portability')
-rw-r--r--include/cppunit/portability/CppUnitDeque.h25
-rw-r--r--include/cppunit/portability/CppUnitMap.h29
-rw-r--r--include/cppunit/portability/CppUnitSet.h28
-rw-r--r--include/cppunit/portability/CppUnitStack.h26
-rw-r--r--include/cppunit/portability/CppUnitVector.h25
-rw-r--r--include/cppunit/portability/Makefile.am5
6 files changed, 0 insertions, 138 deletions
diff --git a/include/cppunit/portability/CppUnitDeque.h b/include/cppunit/portability/CppUnitDeque.h
deleted file mode 100644
index bbab21f..0000000
--- a/include/cppunit/portability/CppUnitDeque.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
-#define CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
-
-// The technic used is similar to the wrapper of STLPort.
-
-#include <cppunit/Portability.h>
-#include <deque>
-
-
-#if CPPUNIT_STD_NEED_ALLOCATOR
-
-template<class T>
-class CppUnitDeque : public std::deque<T,CPPUNIT_STD_ALLOCATOR>
-{
-public:
-};
-
-#else // CPPUNIT_STD_NEED_ALLOCATOR
-
-#define CppUnitDeque std::deque
-
-#endif
-
-#endif // CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
-
diff --git a/include/cppunit/portability/CppUnitMap.h b/include/cppunit/portability/CppUnitMap.h
deleted file mode 100644
index 0cdc723..0000000
--- a/include/cppunit/portability/CppUnitMap.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#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
-
diff --git a/include/cppunit/portability/CppUnitSet.h b/include/cppunit/portability/CppUnitSet.h
deleted file mode 100644
index 18b8662..0000000
--- a/include/cppunit/portability/CppUnitSet.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#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
-
diff --git a/include/cppunit/portability/CppUnitStack.h b/include/cppunit/portability/CppUnitStack.h
deleted file mode 100644
index bc7785b..0000000
--- a/include/cppunit/portability/CppUnitStack.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef CPPUNIT_PORTABILITY_CPPUNITSTACK_H
-#define CPPUNIT_PORTABILITY_CPPUNITSTACK_H
-
-// The technic used is similar to the wrapper of STLPort.
-
-#include <cppunit/Portability.h>
-#include <deque>
-#include <stack>
-
-
-#if CPPUNIT_STD_NEED_ALLOCATOR
-
-template<class T>
-class CppUnitStack : public std::stack<T
- ,std::deque<T,CPPUNIT_STD_ALLOCATOR> >
-{
-public:
-};
-
-#else // CPPUNIT_STD_NEED_ALLOCATOR
-
-#define CppUnitStack std::stack
-
-#endif
-
-#endif // CPPUNIT_PORTABILITY_CPPUNITSTACK_H \ No newline at end of file
diff --git a/include/cppunit/portability/CppUnitVector.h b/include/cppunit/portability/CppUnitVector.h
deleted file mode 100644
index 6666a63..0000000
--- a/include/cppunit/portability/CppUnitVector.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
-#define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
-
-// The technic used is similar to the wrapper of STLPort.
-
-#include <cppunit/Portability.h>
-#include <vector>
-
-
-#if CPPUNIT_STD_NEED_ALLOCATOR
-
-template<class T>
-class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR>
-{
-public:
-};
-
-#else // CPPUNIT_STD_NEED_ALLOCATOR
-
-#define CppUnitVector std::vector
-
-#endif
-
-#endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
-
diff --git a/include/cppunit/portability/Makefile.am b/include/cppunit/portability/Makefile.am
index 8311d00..ce85cd6 100644
--- a/include/cppunit/portability/Makefile.am
+++ b/include/cppunit/portability/Makefile.am
@@ -1,11 +1,6 @@
libcppunitincludedir = $(includedir)/cppunit/portability
libcppunitinclude_HEADERS = \
- CppUnitDeque.h \
- CppUnitMap.h \
- CppUnitSet.h \
- CppUnitStack.h \
- CppUnitVector.h \
FloatingPoint.h \
Stream.h \
SmartPtr.h