Developer documentation

texp.hpp
Go to the documentation of this file.
1 #ifndef realroot_BASE_TYPE_H
2 #define realroot_BASE_TYPE_H
3 
4 //#include <iostream>
5 #include <sstream>
6 #ifndef _MSC_VER
7 #include <cxxabi.h>
8 #endif
9 #include <typeinfo>
10 #include <vector>
11 
13 #include "realroot/texp_tests.hpp"
15 #include "realroot/texp_list.hpp"
18 
19 namespace mmx {
20 
21 // #ifndef WITH_AS
22 // #define WITH_AS
23 // template<typename T,typename F>
24 // struct cast_helper { static inline T cv (const F& x) { return x; } };
25 
26 // template<typename T,typename F> inline T as (const F& x) { return cast_helper<T,F>::cv (x); }
27 // #endif
28 
29 
30 namespace texp {
31  template < typename T >
32  struct As { typedef T self_t; };
33 };
34 
35 
36 
44 //inline bool check_type( type::true_t ) { return true; }
45 
53 //inline bool check_type( type::false_t ) { return false; }
54 
55 }// end namespace mmx
56 
57 #endif
T self_t
Definition: texp.hpp:32
Definition: texp.hpp:32
Definition: array.hpp:12
Home