summaryrefslogtreecommitdiffstats
path: root/scripts/t/Dpkg_Shlibs/anglebrackets.cpp
blob: 0db112ea81f5321fb23a0de5f0fc82dc1cd16e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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) {}