2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-28 05:42:14 +00:00

ADD ignore_unsued for zero_::iterators

FIX define closure_type for scalar_

svn path=/trunk/boost/boost/numeric/ublas/; revision=33548
This commit is contained in:
Michael Stevens
2006-04-05 08:33:18 +00:00
parent 92e3461828
commit d50c6b685e

View File

@@ -2169,6 +2169,7 @@ namespace boost { namespace numeric { namespace ublas {
BOOST_UBLAS_INLINE
bool operator == (const const_iterator1 &it) const {
BOOST_UBLAS_CHECK (&(*this) () == &it (), external_logic ());
detail::ignore_unused_variable_warning(it);
return true;
}
};
@@ -2278,6 +2279,7 @@ namespace boost { namespace numeric { namespace ublas {
BOOST_UBLAS_INLINE
bool operator == (const const_iterator2 &it) const {
BOOST_UBLAS_CHECK (&(*this) () == &it (), external_logic ());
detail::ignore_unused_variable_warning(it);
return true;
}
};
@@ -2724,6 +2726,7 @@ namespace boost { namespace numeric { namespace ublas {
typedef const T &const_reference;
typedef T &reference;
typedef const matrix_reference<const self_type> const_closure_type;
typedef matrix_reference<self_type> closure_type;
typedef dense_tag storage_category;
typedef unknown_orientation_tag orientation_category;