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

FIX explicit expression constructors

[SVN r25362]
This commit is contained in:
Michael Stevens
2004-09-23 07:51:01 +00:00
parent 150b93d70b
commit 71b94c19d8
2 changed files with 7 additions and 7 deletions

View File

@@ -229,7 +229,7 @@ namespace boost { namespace numeric { namespace ublas {
matrix_reference ():
e_ (nil_) {}
BOOST_UBLAS_INLINE
matrix_reference (refered_type &e):
explicit matrix_reference (refered_type &e):
e_ (e) {}
// Accessors
@@ -1047,7 +1047,7 @@ namespace boost { namespace numeric { namespace ublas {
matrix_unary1 ():
e_ () {}
BOOST_UBLAS_INLINE
matrix_unary1 (const expression_type &e):
explicit matrix_unary1 (const expression_type &e):
e_ (e) {}
// Accessors
@@ -1526,7 +1526,7 @@ namespace boost { namespace numeric { namespace ublas {
BOOST_UBLAS_INLINE
// ISSUE may be used as mutable expression.
// matrix_unary2 (const expression_type &e):
matrix_unary2 (expression_type &e):
explicit matrix_unary2 (expression_type &e):
e_ (e) {}
// Accessors
@@ -5175,7 +5175,7 @@ namespace boost { namespace numeric { namespace ublas {
matrix_scalar_unary ():
e_ () {}
BOOST_UBLAS_INLINE
matrix_scalar_unary (const expression_type &e):
explicit matrix_scalar_unary (const expression_type &e):
e_ (e) {}
#ifndef BOOST_UBLAS_NESTED_CLASS_DR45

View File

@@ -233,7 +233,7 @@ namespace boost { namespace numeric { namespace ublas {
vector_reference ():
e_ (nil_) {}
BOOST_UBLAS_INLINE
vector_reference (refered_type &e):
explicit vector_reference (refered_type &e):
e_ (e) {}
// Accessors
@@ -479,7 +479,7 @@ namespace boost { namespace numeric { namespace ublas {
BOOST_UBLAS_INLINE
// ISSUE may be used as mutable expression.
// vector_unary (const expression_type &e):
vector_unary (expression_type &e):
explicit vector_unary (expression_type &e):
e_ (e) {}
// Accessors
@@ -1672,7 +1672,7 @@ namespace boost { namespace numeric { namespace ublas {
vector_scalar_unary ():
e_ () {}
BOOST_UBLAS_INLINE
vector_scalar_unary (const expression_type &e):
explicit vector_scalar_unary (const expression_type &e):
e_ (e) {}
#ifndef BOOST_UBLAS_NESTED_CLASS_DR45