00001 #ifndef realroot_BASE_TYPE_H 00002 #define realroot_BASE_TYPE_H 00003 00004 //#include <iostream> 00005 #include <sstream> 00006 #include <cxxabi.h> 00007 #include <typeinfo> 00008 #include <vector> 00009 00010 #include "realroot/texp_strip_qualifiers.hpp" 00011 #include "realroot/texp_tests.hpp" 00012 #include "realroot/texp_demangle.hpp" 00013 #include "realroot/texp_list.hpp" 00014 #include "realroot/texp_container_traits.hpp" 00015 #include "realroot/texp_computations.hpp" 00016 00017 namespace mmx { 00018 00019 // #ifndef WITH_AS 00020 // #define WITH_AS 00021 // template<typename T,typename F> 00022 // struct cast_helper { static inline T cv (const F& x) { return x; } }; 00023 00024 // template<typename T,typename F> inline T as (const F& x) { return cast_helper<T,F>::cv (x); } 00025 // #endif 00026 00027 00028 namespace texp { 00029 template < typename T > 00030 struct As { typedef T self_t; }; 00031 }; 00032 00033 00034 00042 //inline bool check_type( type::true_t ) { return true; } 00043 00051 //inline bool check_type( type::false_t ) { return false; } 00052 00053 }// end namespace mmx 00054 00055 #endif