Commit 2868313a authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

proceeding

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: 1416
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ecfce1e6
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: README.changelog,v 1.38 2003-12-19 14:38:14 tforb Exp $
* $Id: README.changelog,v 1.39 2003-12-19 14:44:37 tforb Exp $
*
* Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
*
......@@ -21,7 +21,7 @@
/*! \page page_changelog ChangeLog (AFF)
$Id: README.changelog,v 1.38 2003-12-19 14:38:14 tforb Exp $
$Id: README.changelog,v 1.39 2003-12-19 14:44:37 tforb Exp $
\sa \ref page_project_status
......@@ -31,6 +31,7 @@
- TConstSharedHeap now allocates one element in the default constructor.
- \b !! cleaned all constructors of aff::ConstSeries and aff::Series
- \b !! parameters of constructor of aff::LinearShape have a new meaning
- index check now should work (aff::SharedHeap)
- \b 27/06/2003 (thof)
- introduced aff::Iteratable
......@@ -177,7 +178,7 @@
/*! \page page_project_status Project status (AFF)
$Id: README.changelog,v 1.38 2003-12-19 14:38:14 tforb Exp $
$Id: README.changelog,v 1.39 2003-12-19 14:44:37 tforb Exp $
\sa \ref page_changelog
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: sharedheap.h,v 1.15 2002-12-31 17:19:47 forbrig Exp $
* $Id: sharedheap.h,v 1.16 2003-12-19 14:44:37 tforb Exp $
* \author Thomas Forbriger
* \since 08/12/2002
*
......@@ -37,6 +37,8 @@
* protected. Default constructor remains public (it
* is needed if we construct a container for
* ConstSharedHeap elements).
* - 19/12/2003 V1.7 (thof)
* - index check now should work
*
* ============================================================================
*/
......@@ -47,7 +49,7 @@
#define AFF_SHAREDHEAP_H_VERSION \
"AFF_SHAREDHEAP_H V1.6"
#define AFF_SHAREDHEAP_H_CVSID \
"$Id: sharedheap.h,v 1.15 2002-12-31 17:19:47 forbrig Exp $"
"$Id: sharedheap.h,v 1.16 2003-12-19 14:44:37 tforb Exp $"
#include<new>
#include<aff/lib/error.h>
......@@ -171,7 +173,7 @@ namespace util {
const T& operator[](const Tsubscript& i) const
{
#ifdef AFF_INDEXCHECK
AFF_assert(((ii<Tsubscript(Mheapstruct->Msize)) && (ii>0)),
AFF_assert(((i<Tsubscript(Mheapstruct->Msize)) && (i>=0)),
"SharedHeap: illegal index position!");
#endif
return(Mheapstruct->Mheap[i]);
......@@ -194,7 +196,7 @@ namespace util {
T& write_access(const Tsubscript& i)
{
#ifdef AFF_INDEXCHECK
AFF_assert(((ii<Tsubscript(Mheapstruct->Msize)) && (ii>0)),
AFF_assert(((i<Tsubscript(Mheapstruct->Msize)) && (i>=0)),
"SharedHeap: illegal index position!");
#endif
return(Mheapstruct->Mheap[i]);
......
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