From e72b32571e0caafcaf017883f956855c738eaa05 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 20 Jun 2005 07:29:32 +0000 Subject: [PATCH] Try 'safe' as a name for alias safe assignment --- include/boost/numeric/ublas/detail/definitions.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/numeric/ublas/detail/definitions.hpp b/include/boost/numeric/ublas/detail/definitions.hpp index 8e0d67aa..4e4328d3 100644 --- a/include/boost/numeric/ublas/detail/definitions.hpp +++ b/include/boost/numeric/ublas/detail/definitions.hpp @@ -88,16 +88,16 @@ namespace boost { namespace numeric { namespace ublas { return noalias_proxy (lvalue); } - // Future compatible syntax where lvalue is known to have an alias on the RHS - // alias(lhs) = rhs_expression + // Possible future compatible syntax where lvalue possible has an unsafe alias on the RHS + // safe(lhs) = rhs_expression template BOOST_UBLAS_INLINE - C& alias (C& lvalue) { + C& safe (C& lvalue) { return lvalue; } template BOOST_UBLAS_INLINE - const C& alias (const C& lvalue) { + const C& safe (const C& lvalue) { return lvalue; }