File indexing completed on 2024-04-06 11:56:19
0001 #ifndef GENERS_IOPOINTEETYPE_HH_
0002 #define GENERS_IOPOINTEETYPE_HH_
0003
0004 namespace gs {
0005 template <typename T>
0006 struct IOPointeeType;
0007
0008 template <typename T>
0009 struct IOPointeeType<T *> {
0010 typedef T type;
0011 };
0012
0013 template <typename T>
0014 struct IOPointeeType<T *const> {
0015 typedef T type;
0016 };
0017
0018 template <typename T>
0019 struct IOPointeeType<T *volatile> {
0020 typedef T type;
0021 };
0022
0023 template <typename T>
0024 struct IOPointeeType<T *const volatile> {
0025 typedef T type;
0026 };
0027 }
0028
0029 #endif