2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-22 15:52:18 +00:00

manual merge from trunk: fixed typos reported in http://bugs.debian.org/378016 (there seems to be no mention of the erroneous names in the docs); NOTE(!): license reference text to be fixed; guard macro name beginning with underscore

[SVN r34633]
This commit is contained in:
Gennaro Prota
2006-07-20 13:41:13 +00:00
parent 3a5b856efb
commit ae42294c58
2 changed files with 10 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ namespace boost { namespace numeric { namespace ublas {
typedef typename boost::mpl::if_<boost::is_const<E>,
typename E::const_reference,
typename E::reference>::type reference;
typedef E refered_type;
typedef E referred_type;
typedef const self_type const_closure_type;
typedef self_type closure_type;
typedef typename E::orientation_category orientation_category;
@@ -50,7 +50,7 @@ namespace boost { namespace numeric { namespace ublas {
// Construction and destruction
BOOST_UBLAS_INLINE
explicit matrix_reference (refered_type &e):
explicit matrix_reference (referred_type &e):
e_ (e) {}
// Accessors
@@ -66,11 +66,11 @@ namespace boost { namespace numeric { namespace ublas {
public:
// Expression accessors - const correct
BOOST_UBLAS_INLINE
const refered_type &expression () const {
const referred_type &expression () const {
return e_;
}
BOOST_UBLAS_INLINE
refered_type &expression () {
referred_type &expression () {
return e_;
}
@@ -269,7 +269,7 @@ namespace boost { namespace numeric { namespace ublas {
}
private:
refered_type &e_;
referred_type &e_;
};

View File

@@ -43,14 +43,14 @@ namespace boost { namespace numeric { namespace ublas {
typedef typename boost::mpl::if_<boost::is_const<E>,
typename E::const_reference,
typename E::reference>::type reference;
typedef E refered_type;
typedef E referred_type;
typedef const self_type const_closure_type;
typedef self_type closure_type;
typedef typename E::storage_category storage_category;
// Construction and destruction
BOOST_UBLAS_INLINE
explicit vector_reference (refered_type &e):
explicit vector_reference (referred_type &e):
e_ (e) {}
// Accessors
@@ -62,11 +62,11 @@ namespace boost { namespace numeric { namespace ublas {
public:
// Expression accessors - const correct
BOOST_UBLAS_INLINE
const refered_type &expression () const {
const referred_type &expression () const {
return e_;
}
BOOST_UBLAS_INLINE
refered_type &expression () {
referred_type &expression () {
return e_;
}
@@ -227,7 +227,7 @@ namespace boost { namespace numeric { namespace ublas {
}
private:
refered_type &e_;
referred_type &e_;
};