1#ifndef BOOST_QVM_GEN_VEC_ASSIGN3_HPP_INCLUDED
2#define BOOST_QVM_GEN_VEC_ASSIGN3_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==3 && vec_traits<B>::dim==3,
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 return a;
28 }
29
30namespace
31sfinae
32 {
33 using ::boost::qvm::assign;
34 }
35
36namespace
37qvm_detail
38 {
39 template <int D>
40 struct assign_vv_defined;
41
42 template <>
43 struct
44 assign_vv_defined<3>
45 {
46 static bool const value=true;
47 };
48 }
49
50} }
51
52#endif
53

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