00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef MTL_VEC_VEC_ASGN_EXPR_INCLUDE
00016 #define MTL_VEC_VEC_ASGN_EXPR_INCLUDE
00017
00018 #include <boost/static_assert.hpp>
00019
00020 #include <boost/numeric/mtl/vector/vec_vec_aop_expr.hpp>
00021 #include <boost/numeric/mtl/utility/ashape.hpp>
00022 #include <boost/numeric/mtl/operation/sfunctor.hpp>
00023
00024 namespace mtl { namespace vector {
00025
00026
00027 template <class E1, class E2>
00028 struct vec_vec_asgn_expr
00029 : public vec_vec_aop_expr< E1, E2, mtl::sfunctor::assign<typename E1::value_type, typename E2::value_type> >
00030 {
00031 typedef vec_vec_aop_expr< E1, E2, mtl::sfunctor::assign<typename E1::value_type, typename E2::value_type> > base;
00032 vec_vec_asgn_expr( E1& v1, E2 const& v2 )
00033 : base( v1, v2 )
00034 {}
00035 };
00036
00037 } }
00038
00039
00040
00041
00042 #endif
00043