00001 #ifndef _LOKI_H 00002 #define _LOKI_H 00003 00004 namespace osl 00005 { 00006 namespace misc 00007 { 00008 // Int2Type by LOKI 00009 template<int v> 00010 struct Int2Type{ 00011 enum { value=v }; 00012 }; 00013 00014 template<typename T> 00015 struct Type2Type{ 00016 }; 00017 00018 struct EmptyType{}; 00019 } // namespace misc 00020 using misc::Int2Type; 00021 } // namespace osl 00022 #endif 00023 // ;;; Local Variables: 00024 // ;;; mode:c++ 00025 // ;;; c-basic-offset:2 00026 // ;;; End: 00027