1#ifndef BOOST_QVM_GEN_VEC_ASSIGN4_HPP_INCLUDED
2#define BOOST_QVM_GEN_VEC_ASSIGN4_HPP_INCLUDED
3
4// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
5
6// Distributed under the Boost Software License, Version 1.0. (See accompanying
7// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8
9// This file was generated by a program. Do not edit manually.
10
11#include <boost/qvm/config.hpp>
12#include <boost/qvm/enable_if.hpp>
13#include <boost/qvm/vec_traits.hpp>
14
15namespace boost { namespace qvm {
16
17template <class A,class B>
18BOOST_QVM_CONSTEXPR BOOST_QVM_INLINE_OPERATIONS
19typename enable_if_c<
20 vec_traits<A>::dim==4 && vec_traits<B>::dim==4,
21 A &>::type
22assign( A & a, B const & b )
23 {
24 write_vec_element<0>(a,vec_traits<B>::template read_element<0>(b));
25 write_vec_element<1>(a,vec_traits<B>::template read_element<1>(b));
26 write_vec_element<2>(a,vec_traits<B>::template read_element<2>(b));
27 write_vec_element<3>(a,vec_traits<B>::template read_element<3>(b));
28 return a;
29 }
30
31namespace
32sfinae
33 {
34 using ::boost::qvm::assign;
35 }
36
37namespace
38qvm_detail
39 {
40 template <int D>
41 struct assign_vv_defined;
42
43 template <>
44 struct
45 assign_vv_defined<4>
46 {
47 static bool const value=true;
48 };
49 }
50
51} }
52
53#endif
54

source code of boost/libs/qvm/include/boost/qvm/gen/vec_assign4.hpp