Commit 320accaf 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: 2098
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 69f18a5e
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: README.changelog,v 1.58 2006-04-27 07:21:37 tforb Exp $
* $Id: README.changelog,v 1.59 2006-04-28 09:11:06 tforb Exp $
*
* Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
*
......@@ -21,12 +21,16 @@
/*! \page page_changelog ChangeLog (AFF)
$Id: README.changelog,v 1.58 2006-04-27 07:21:37 tforb Exp $
$Id: README.changelog,v 1.59 2006-04-28 09:11:06 tforb Exp $
\sa \ref page_project_status
Major changes in the interface of the library are marked by \b !!.
- \b 28/04/2006 (thof)
- classes with virtual functions (here exception classes) require the
explicit definition of a virtual destructor
- \b 27/04/2006 (thof)
- Constructor of aff::LinearShape (shape class for aff::Series)
was asserting last index > first index, which is to strict.
......@@ -239,7 +243,7 @@
/*! \page page_project_status Project status (AFF)
$Id: README.changelog,v 1.58 2006-04-27 07:21:37 tforb Exp $
$Id: README.changelog,v 1.59 2006-04-28 09:11:06 tforb Exp $
\sa \ref page_changelog
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: error.h,v 1.7 2006-03-28 16:03:07 tforb Exp $
* $Id: error.h,v 1.8 2006-04-28 09:11:06 tforb Exp $
* \author Thomas Forbriger
* \date 27/11/2002
*
......@@ -37,6 +37,9 @@
* - 10/12/2002 V1.0 copied from libtfxx
* - 16/12/2002 V1.1 (thof)
* - now contains AllocException too
* - 28/04/2006 V1.2 (thof)
* - classes with virtual functions require
* the explicit definition of a virtual destructor
*
* ============================================================================
*/
......@@ -45,9 +48,9 @@
#ifndef AFF_ERROR_H_VERSION
#define AFF_ERROR_H_VERSION \
"AFF_ERROR_H V1.1"
"AFF_ERROR_H V1.2"
#define AFF_ERROR_H_CVSID \
"$Id: error.h,v 1.7 2006-03-28 16:03:07 tforb Exp $"
"$Id: error.h,v 1.8 2006-04-28 09:11:06 tforb Exp $"
#include<aff/lib/types.h>
......@@ -90,6 +93,8 @@ namespace aff {
Exception(const char* message,
const char* file,
const int& line);
//! provide virtual destructor
virtual ~Exception() { }
//! Screen report
virtual void report() const;
//! Issue a screen report on construction of exception
......@@ -125,6 +130,8 @@ namespace aff {
public:
//! take number of requested elements and their size
AllocException(const Tsize& n, const Tsize& size);
//! provide virtual destructor
virtual ~AllocException() { }
//! Screen report
virtual void report() const;
private:
......
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