Commit 46f78121 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction

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: 2471
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 0312cccd
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: rms.h,v 1.4 2006-03-28 16:03:04 tforb Exp $
* $Id: rms.h,v 1.5 2007-12-10 16:12:42 tforb Exp $
* \author Thomas Forbriger
* \date 20/03/2005
*
......@@ -30,6 +30,7 @@
* REVISIONS and CHANGES
* - 20/03/2005 V1.0 Thomas Forbriger
* - 28/04/2005 V1.1 provide return type
* - 12/01/2007 V1.2 requires cmath header because of sqrt
*
* ============================================================================
*/
......@@ -38,11 +39,11 @@
#ifndef AFF_RMS_H_VERSION
#define AFF_RMS_H_VERSION \
"AFF_RMS_H V1.1 "
"AFF_RMS_H V1.2"
#define AFF_RMS_H_CVSID \
"$Id: rms.h,v 1.4 2006-03-28 16:03:04 tforb Exp $"
"$Id: rms.h,v 1.5 2007-12-10 16:12:42 tforb Exp $"
#include<cmath>
#include<aff/lib/collector.h>
namespace aff {
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: helpertest.cc,v 1.6 2006-03-28 16:03:12 tforb Exp $
* $Id: helpertest.cc,v 1.7 2007-12-10 16:10:07 tforb Exp $
* \author Thomas Forbriger
* \date 23/12/2002
*
......@@ -38,13 +38,15 @@
* - test slice of ConstArray
* - now no resolution conflicts with const containers
* are experienced anymore
* - 10/12/2007 V1.3 (thof)
* - scanning a const array requires a Browser
*
* ============================================================================
*/
#define AFF_HELPERTEST_CC_VERSION \
"AFF_HELPERTEST_CC V1.2"
"AFF_HELPERTEST_CC V1.3"
#define AFF_HELPERTEST_CC_CVSID \
"$Id: helpertest.cc,v 1.6 2006-03-28 16:03:12 tforb Exp $"
"$Id: helpertest.cc,v 1.7 2007-12-10 16:10:07 tforb Exp $"
/*! \example tests/helpertest.cc
*
......@@ -121,7 +123,8 @@ int main()
CODE( dump_array(A) );
CODE( ConstArray<int> CA(A.copyout()) );
CODE( i=1);
CODE(for( Iterator<ConstArray<int> > I(CA); I.valid(); ++I)
// use a browser here
CODE(for( Browser<ConstArray<int> > I(CA); I.valid(); ++I)
{ cout << i << ", " << *I << endl; 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