Commit 9974387b authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

scalar assignment is active

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1215
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 1a1988d3
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: README.changelog,v 1.5 2002-12-18 18:43:43 uid1201 Exp $
* $Id: README.changelog,v 1.6 2002-12-18 18:49:29 uid1201 Exp $
*
* Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
*
......@@ -31,6 +31,7 @@
passed basic tests
- additionally aff::SharedHeap and aff::SimpleRigidArray passed their
basic tests
- activated scalar assignment with aff::Array::operator=()
- \b 17/12/2002 (thof)
- introduced class Series
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: array_def.h,v 1.5 2002-12-16 20:16:06 forbrig Exp $
* $Id: array_def.h,v 1.6 2002-12-18 18:49:29 uid1201 Exp $
* \author Thomas Forbriger
* \since 08/12/2002
*
......@@ -25,6 +25,8 @@
* - definitions are now for base class
* (i.e. spcialization for const T)
* - added standard constructors
* - 18/12/2002 V1.2 (thof)
* - added stepper code to scalar assignment operator
*
* ============================================================================
*/
......@@ -37,9 +39,9 @@
#ifndef AFF_ARRAY_DEF_H_VERSION
#define AFF_ARRAY_DEF_H_VERSION \
"AFF_ARRAY_DEF_H V1.1"
"AFF_ARRAY_DEF_H V1.2"
#define AFF_ARRAY_DEF_H_CVSID \
"$Id: array_def.h,v 1.5 2002-12-16 20:16:06 forbrig Exp $"
"$Id: array_def.h,v 1.6 2002-12-18 18:49:29 uid1201 Exp $"
#include<aff/lib/error.h>
......@@ -125,15 +127,10 @@ namespace prebuilt {
template<class T>
Array<const T>& Array<const T>::operator=(const T& value)
{
AFF_abort("Array<const T>::operator= not yet implemented")
/*
typename Tshape::Tstepper st(this->Tshape::stepper());
aff::util::StridedStepper st(*this);
st.tofirst();
for (st.tofirst(); st.more(); st.incr())
{
this->Trepresentation::operator[](st.current())=value;
}
*/
{ this->Trepresentation::operator[](st.current())=value; }
return(*this);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment