]>
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 | ||
6 | #ifndef UUID_01224884FC4111DF9570F7E4DED72085 | |
7 | #define UUID_01224884FC4111DF9570F7E4DED72085 | |
8 | ||
9 | namespace | |
10 | boost | |
11 | { | |
12 | namespace | |
13 | qvm | |
14 | { | |
15 | template <class V> | |
16 | struct | |
17 | vec_traits | |
18 | { | |
19 | static int const dim=0; | |
20 | typedef void scalar_type; | |
21 | }; | |
22 | ||
23 | template <class T> | |
24 | struct | |
25 | is_vec | |
26 | { | |
27 | static bool const value=vec_traits<T>::dim>0; | |
28 | }; | |
29 | } | |
30 | } | |
31 | ||
32 | #endif |