1 #ifndef BOOST_QVM_TRAITS_HPP_INCLUDED
2 #define BOOST_QVM_TRAITS_HPP_INCLUDED
4 // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
6 // Distributed under the Boost Software License, Version 1.0. (See accompanying
7 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/qvm/is_scalar.hpp>
11 namespace boost { namespace qvm {
17 static int const rows=0;
18 static int const cols=0;
19 typedef void scalar_type;
26 static bool const value = is_scalar<typename mat_traits<T>::scalar_type>::value && mat_traits<T>::rows>0 && mat_traits<T>::cols>0;