1 //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
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)
6 #ifndef UUID_435FA7E8196311E0A176DE6BDFD72085
7 #define UUID_435FA7E8196311E0A176DE6BDFD72085
9 #include <boost/qvm/deduce_scalar.hpp>
10 #include <boost/qvm/quat_traits.hpp>
11 #include <boost/qvm/static_assert.hpp>
26 BOOST_QVM_STATIC_ASSERT(is_quat<Q>::value);
33 template <class A,class B,
34 bool QA=is_quat<A>::value,
35 bool QB=is_quat<B>::value>
40 typename deduce_scalar<
41 typename scalar<A>::type,
42 typename scalar<B>::type>::type> type;
47 deduce_quat2_default<Q,Q,true,true>
53 template <class A,class B>
57 BOOST_QVM_STATIC_ASSERT(is_quat<A>::value || is_quat<B>::value);
58 typedef typename qvm_detail::deduce_quat2_default<A,B>::type type;