]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
1 | //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. |
2 | ||
3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying | |
4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
f67539c2 TL |
6 | #ifndef BOOST_QVM_8C06FE26A3E711DEA02C88BA55D89593 |
7 | #define BOOST_QVM_8C06FE26A3E711DEA02C88BA55D89593 | |
92f5a8d4 TL |
8 | |
9 | namespace | |
10 | boost | |
11 | { | |
12 | namespace | |
13 | qvm | |
14 | { | |
15 | template <class M> | |
16 | struct | |
17 | mat_traits | |
18 | { | |
19 | static int const rows=0; | |
20 | static int const cols=0; | |
21 | typedef void scalar_type; | |
22 | }; | |
23 | ||
24 | template <class T> | |
25 | struct | |
26 | is_mat | |
27 | { | |
28 | static bool const value=mat_traits<T>::rows>0 && mat_traits<T>::cols>0; | |
29 | }; | |
30 | } | |
31 | } | |
32 | ||
33 | #endif |