Developer documentation

texp_hasproperty.hpp
Go to the documentation of this file.
1 #ifndef realroot_ARITHM_TRAITS_HASPROPERTY_H
2 #define realroot_ARITHM_TRAITS_HASPROPERTY_H
3 
4 #include "realroot/traits_isexact.hpp"
5 #include "realroot/traits_isring.hpp"
6 #include "realroot/traits_isfield.hpp"
7 
8 namespace mmx {
9 
10 namespace texp {
11 
12  template< typename X >
13  struct hasproperty
14  {
15  typedef typename isexact< X >::T exact;
16  typedef typename isring < X >::T ring;
17  typedef typename isfield< X >::T field;
18  };
19 
20 }
21 
22 }// end namespace mmx
23 
24 #endif
isexact< X >::T exact
Definition: texp_hasproperty.hpp:15
structure defining a positive answer
Definition: texp_bool.hpp:7
isfield< X >::T field
Definition: texp_hasproperty.hpp:17
Definition: texp_hasproperty.hpp:13
Definition: array.hpp:12
isring< X >::T ring
Definition: texp_hasproperty.hpp:16
Home