1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef GENERS_IOISIOPTR_HH_
#define GENERS_IOISIOPTR_HH_
#include "Alignment/Geners/interface/IOPtr.hh"
namespace gs {
template <class T>
struct IOIsIOPtr {
enum { value = 0 };
};
template <class T>
struct IOIsIOPtr<IOPtr<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<const IOPtr<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<volatile IOPtr<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<const volatile IOPtr<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<IOProxy<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<const IOProxy<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<volatile IOProxy<T>> {
enum { value = 1 };
};
template <class T>
struct IOIsIOPtr<const volatile IOProxy<T>> {
enum { value = 1 };
};
} // namespace gs
#endif // GENERS_IOISIOPTR_HH_
|