1
2 template<bool>
3 struct __truth_type;
4
5 template<typename T>
6 struct __traitor
7 {
8 enum { __value = true }; // Oh, an anonymous templatey thing!
9 typedef typename __truth_type<__value>::__type __type;
10 };