summaryrefslogtreecommitdiffstats
path: root/scripts/t/Dpkg_Shlibs/anglebrackets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/t/Dpkg_Shlibs/anglebrackets.cpp')
-rw-r--r--scripts/t/Dpkg_Shlibs/anglebrackets.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/t/Dpkg_Shlibs/anglebrackets.cpp b/scripts/t/Dpkg_Shlibs/anglebrackets.cpp
new file mode 100644
index 0000000..0db112e
--- /dev/null
+++ b/scripts/t/Dpkg_Shlibs/anglebrackets.cpp
@@ -0,0 +1,23 @@
+#define EXPORT(x) x {}
+
+class AngleBrackets {
+public:
+ AngleBrackets();
+ ~AngleBrackets();
+
+ void operator>>(int a);
+ void operator>>=(int a);
+
+ template<typename T>
+ void operator>>(T a);
+
+ template<typename T>
+ void operator>>=(T a);
+};
+
+EXPORT(AngleBrackets::AngleBrackets())
+EXPORT(AngleBrackets::~AngleBrackets())
+EXPORT(void AngleBrackets::operator>>(int a))
+EXPORT(void AngleBrackets::operator>>=(int a))
+template<> void AngleBrackets::operator>><float>(float a) {}
+template<> void AngleBrackets::operator>>=<float>(float a) {}