mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-27 05:22:10 +00:00
Try 'safe' as a name for alias safe assignment
This commit is contained in:
@@ -88,16 +88,16 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
return noalias_proxy<const C> (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 <class C>
|
||||
BOOST_UBLAS_INLINE
|
||||
C& alias (C& lvalue) {
|
||||
C& safe (C& lvalue) {
|
||||
return lvalue;
|
||||
}
|
||||
template <class C>
|
||||
BOOST_UBLAS_INLINE
|
||||
const C& alias (const C& lvalue) {
|
||||
const C& safe (const C& lvalue) {
|
||||
return lvalue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user