1234567891011121314151617181920212223242526272829 |
- #ifndef BOOST_QVM_TRAITS_HPP_INCLUDED
- #define BOOST_QVM_TRAITS_HPP_INCLUDED
- namespace boost { namespace qvm {
- template <class M>
- struct
- mat_traits
- {
- static int const rows=0;
- static int const cols=0;
- typedef void scalar_type;
- };
- template <class T>
- struct
- is_mat
- {
- static bool const value=mat_traits<T>::rows>0 && mat_traits<T>::cols>0;
- };
- } }
- #endif
|