realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/texp.hpp
Go to the documentation of this file.
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   
00030   template < typename T >
00031   struct As {
00032     typedef T self_t;
00033   };
00034 };
00035 
00036 
00037 
00045 //inline bool check_type( type::true_t ) { return true;  }
00046 
00054 //inline bool check_type( type::false_t ) { return false; }
00055 
00056 }// end namespace mmx
00057 
00058 #endif