summaryrefslogtreecommitdiff
path: root/boost/qvm/vec_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/qvm/vec_traits.hpp')
-rw-r--r--boost/qvm/vec_traits.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/boost/qvm/vec_traits.hpp b/boost/qvm/vec_traits.hpp
new file mode 100644
index 0000000000..9b4465a92f
--- /dev/null
+++ b/boost/qvm/vec_traits.hpp
@@ -0,0 +1,32 @@
+//Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
+
+//Distributed under the Boost Software License, Version 1.0. (See accompanying
+//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef UUID_01224884FC4111DF9570F7E4DED72085
+#define UUID_01224884FC4111DF9570F7E4DED72085
+
+namespace
+boost
+ {
+ namespace
+ qvm
+ {
+ template <class V>
+ struct
+ vec_traits
+ {
+ static int const dim=0;
+ typedef void scalar_type;
+ };
+
+ template <class T>
+ struct
+ is_vec
+ {
+ static bool const value=vec_traits<T>::dim>0;
+ };
+ }
+ }
+
+#endif