|
Boost Users : |
From: e r (erwann.rogard_at_[hidden])
Date: 2007-09-13 21:18:20
hi,
i'm trying to understand the different forms of assignments in boost
ublas (a) and b)). some help would be appreciated.
// Assignment
a) BOOST_UBLAS_INLINE
vector_range &operator = (const vector_range &vr) {
vector_assign<scalar_assign> (*this, typename
vector_temporary_traits<V>::type (vr));
return *this;
}
b) BOOST_UBLAS_INLINE
vector_range &assign_temporary (vector_range &vr) {
// assign elements, proxied container remains the same
vector_assign<scalar_assign> (*this, vr);
return *this;
}
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net