2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-23 16:12:09 +00:00

consistently use value_type

svn path=/trunk/boost/boost/numeric/ublas/; revision=24585
This commit is contained in:
Michael Stevens
2004-08-19 06:39:53 +00:00
parent f552b5e7c3
commit 5d4bb2f174

View File

@@ -277,10 +277,10 @@ namespace boost { namespace numeric { namespace ublas {
typedef sparse_storage_element<map_array> data_reference;
#endif
typedef std::pair<I, T> value_type;
typedef const std::pair<I, T> &const_reference;
typedef std::pair<I, T> &reference;
typedef const std::pair<I, T> *const_pointer;
typedef std::pair<I, T> *pointer;
typedef const value_type &const_reference;
typedef value_type &reference;
typedef const value_type *const_pointer;
typedef value_type *pointer;
// Construction and destruction
BOOST_UBLAS_INLINE
@@ -602,10 +602,10 @@ namespace boost { namespace numeric { namespace ublas {
typedef std::ptrdiff_t difference_type;
typedef I index_type;
typedef I value_type;
typedef const I &const_reference;
typedef I &reference;
typedef const I *const_pointer;
typedef I *pointer;
typedef const value_type &const_reference;
typedef value_type &reference;
typedef const value_type *const_pointer;
typedef value_type *pointer;
// Construction and destruction
BOOST_UBLAS_INLINE