/
usr
/
include
/
boost
/
qvm
/
/usr/include/boost/qvm
mkdir
upload
Name
Size
Mode
Actions
detail/
-
0755
rm
gen/
-
0755
rm
all.hpp
1154
0644
edit
dl
rm
assert.hpp
319
0644
edit
dl
rm
deduce_mat.hpp
2667
0644
edit
dl
rm
deduce_quat.hpp
1634
0644
edit
dl
rm
deduce_scalar.hpp
10290
0644
edit
dl
rm
deduce_vec.hpp
2304
0644
edit
dl
rm
enable_if.hpp
584
0644
edit
dl
rm
error.hpp
956
0644
edit
dl
rm
inline.hpp
976
0644
edit
dl
rm
map.hpp
443
0644
edit
dl
rm
map_mat_mat.hpp
32426
0644
edit
dl
rm
map_mat_vec.hpp
17906
0644
edit
dl
rm
map_vec_mat.hpp
20995
0644
edit
dl
rm
mat.hpp
2858
0644
edit
dl
rm
math.hpp
8031
0644
edit
dl
rm
mat_access.hpp
57007
0644
edit
dl
rm
mat_operations.hpp
84053
0644
edit
dl
rm
mat_operations2.hpp
266
0644
edit
dl
rm
mat_operations3.hpp
266
0644
edit
dl
rm
mat_operations4.hpp
266
0644
edit
dl
rm
mat_traits.hpp
775
0644
edit
dl
rm
mat_traits_array.hpp
3562
0644
edit
dl
rm
mat_traits_defaults.hpp
2914
0644
edit
dl
rm
operations.hpp
542
0644
edit
dl
rm
quat.hpp
1686
0644
edit
dl
rm
quat_access.hpp
4989
0644
edit
dl
rm
quat_operations.hpp
53560
0644
edit
dl
rm
quat_traits.hpp
1113
0644
edit
dl
rm
quat_traits_array.hpp
3303
0644
edit
dl
rm
quat_traits_defaults.hpp
1026
0644
edit
dl
rm
quat_vec_operations.hpp
2288
0644
edit
dl
rm
scalar_traits.hpp
2958
0644
edit
dl
rm
static_assert.hpp
347
0644
edit
dl
rm
swizzle.hpp
434
0644
edit
dl
rm
swizzle2.hpp
259
0644
edit
dl
rm
swizzle3.hpp
259
0644
edit
dl
rm
swizzle4.hpp
259
0644
edit
dl
rm
throw_exception.hpp
355
0644
edit
dl
rm
to_string.hpp
724
0644
edit
dl
rm
vec.hpp
2311
0644
edit
dl
rm
vec_access.hpp
8377
0644
edit
dl
rm
vec_mat_operations.hpp
7019
0644
edit
dl
rm
vec_mat_operations2.hpp
270
0644
edit
dl
rm
vec_mat_operations3.hpp
270
0644
edit
dl
rm
vec_mat_operations4.hpp
270
0644
edit
dl
rm
vec_operations.hpp
30368
0644
edit
dl
rm
vec_operations2.hpp
266
0644
edit
dl
rm
vec_operations3.hpp
266
0644
edit
dl
rm
vec_operations4.hpp
266
0644
edit
dl
rm
vec_register.hpp
449
0644
edit
dl
rm
vec_register2.hpp
1358
0644
edit
dl
rm
vec_register3.hpp
1620
0644
edit
dl
rm
vec_register4.hpp
1918
0644
edit
dl
rm
vec_traits.hpp
711
0644
edit
dl
rm
vec_traits_array.hpp
2875
0644
edit
dl
rm
vec_traits_defaults.hpp
2690
0644
edit
dl
rm
Edit:
/usr/include/boost/qvm/deduce_scalar.hpp
(10290B)
//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 BOOST_QVM_F20566FC196311E0B99D606CDFD72085 #define BOOST_QVM_F20566FC196311E0B99D606CDFD72085 #include <boost/qvm/scalar_traits.hpp> namespace boost { namespace qvm { namespace deduce_scalar_detail { template <class A,class B> struct deduce_scalar_impl { }; template <class T> struct deduce_scalar_impl<T,T> { typedef T type; }; template <> struct deduce_scalar_impl<signed char,unsigned char> { typedef unsigned char type; }; template <> struct deduce_scalar_impl<signed char,unsigned short> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<signed char,unsigned int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<signed char,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed char,signed short> { typedef signed short type; }; template <> struct deduce_scalar_impl<signed char,signed int> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed char,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<signed char,float> { typedef float type; }; template <> struct deduce_scalar_impl<signed char,double> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned char,unsigned short> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<unsigned char,unsigned int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned char,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<unsigned char,signed short> { typedef signed short type; }; template <> struct deduce_scalar_impl<unsigned char,signed int> { typedef signed int type; }; template <> struct deduce_scalar_impl<unsigned char,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<unsigned char,float> { typedef float type; }; template <> struct deduce_scalar_impl<unsigned char,double> { typedef double type; }; template <> struct deduce_scalar_impl<signed short,unsigned short> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<signed short,unsigned int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<signed short,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed short,signed int> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed short,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<signed short,float> { typedef float type; }; template <> struct deduce_scalar_impl<signed short,double> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned short,unsigned int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned short,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<unsigned short,signed int> { typedef signed int type; }; template <> struct deduce_scalar_impl<unsigned short,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<unsigned short,float> { typedef float type; }; template <> struct deduce_scalar_impl<unsigned short,double> { typedef double type; }; template <> struct deduce_scalar_impl<signed int,unsigned int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<signed int,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed int,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<signed int,float> { typedef float type; }; template <> struct deduce_scalar_impl<signed int,double> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned int,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<unsigned int,signed long> { typedef signed long type; }; template <> struct deduce_scalar_impl<unsigned int,float> { typedef float type; }; template <> struct deduce_scalar_impl<unsigned int,double> { typedef double type; }; template <> struct deduce_scalar_impl<signed long,unsigned long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed long,float> { typedef float type; }; template <> struct deduce_scalar_impl<signed long,double> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned long,float> { typedef float type; }; template <> struct deduce_scalar_impl<unsigned long,double> { typedef double type; }; template <> struct deduce_scalar_impl<float,double> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned char,signed char> { typedef unsigned char type; }; template <> struct deduce_scalar_impl<unsigned short,signed char> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<unsigned int,signed char> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned long,signed char> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed short,signed char> { typedef signed short type; }; template <> struct deduce_scalar_impl<signed int,signed char> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed long,signed char> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,signed char> { typedef float type; }; template <> struct deduce_scalar_impl<double,signed char> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned short,unsigned char> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<unsigned int,unsigned char> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned long,unsigned char> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed short,unsigned char> { typedef signed short type; }; template <> struct deduce_scalar_impl<signed int,unsigned char> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed long,unsigned char> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,unsigned char> { typedef float type; }; template <> struct deduce_scalar_impl<double,unsigned char> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned short,signed short> { typedef unsigned short type; }; template <> struct deduce_scalar_impl<unsigned int,signed short> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned long,signed short> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed int,signed short> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed long,signed short> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,signed short> { typedef float type; }; template <> struct deduce_scalar_impl<double,signed short> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned int,unsigned short> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned long,unsigned short> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed int,unsigned short> { typedef signed int type; }; template <> struct deduce_scalar_impl<signed long,unsigned short> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,unsigned short> { typedef float type; }; template <> struct deduce_scalar_impl<double,unsigned short> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned int,signed int> { typedef unsigned int type; }; template <> struct deduce_scalar_impl<unsigned long,signed int> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed long,signed int> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,signed int> { typedef float type; }; template <> struct deduce_scalar_impl<double,signed int> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned long,unsigned int> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<signed long,unsigned int> { typedef signed long type; }; template <> struct deduce_scalar_impl<float,unsigned int> { typedef float type; }; template <> struct deduce_scalar_impl<double,unsigned int> { typedef double type; }; template <> struct deduce_scalar_impl<unsigned long,signed long> { typedef unsigned long type; }; template <> struct deduce_scalar_impl<float,signed long> { typedef float type; }; template <> struct deduce_scalar_impl<double,signed long> { typedef double type; }; template <> struct deduce_scalar_impl<float,unsigned long> { typedef float type; }; template <> struct deduce_scalar_impl<double,unsigned long> { typedef double type; }; template <> struct deduce_scalar_impl<double,float> { typedef double type; }; } template <class A,class B> struct deduce_scalar { typedef typename deduce_scalar_detail::deduce_scalar_impl<A,B>::type type; }; } } #endif
Save
cmd:
run