1 #ifndef BOOST_QVM_GEN_VEC_ASSIGN2_HPP_INCLUDED
2 #define BOOST_QVM_GEN_VEC_ASSIGN2_HPP_INCLUDED
4 // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
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)
9 // This file was generated by a program. Do not edit manually.
11 #include <boost/qvm/enable_if.hpp>
12 #include <boost/qvm/inline.hpp>
13 #include <boost/qvm/vec_traits.hpp>
15 namespace boost { namespace qvm {
17 template <class A,class B>
18 BOOST_QVM_CONSTEXPR BOOST_QVM_INLINE_OPERATIONS
20 vec_traits<A>::dim==2 && vec_traits<B>::dim==2,
22 assign( A & a, B const & b )
24 vec_traits<A>::template write_element<0>(a)=vec_traits<B>::template read_element<0>(b);
25 vec_traits<A>::template write_element<1>(a)=vec_traits<B>::template read_element<1>(b);
32 using ::boost::qvm::assign;
39 struct assign_vv_defined;
45 static bool const value=true;