Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
+32 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.19 2000/02/11 14:08:38 gcosmo Exp $
$Id: History,v 1.22 2000/06/26 16:25:56 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -20,6 +20,37 @@ committal in the CVS repository !
STL Interface
-------------
June 26, 00 G.Cosmo (STLInterface-V01-01-01)
- Fixes for problem report #104:
o defs.h: defined G4RWTHROW(a) to abort() in case G4NO_STD_EXCEPTIONS
is set.
o tpsrtvec.icc, tvordvec.icc: corrected implementation of last() in case
of call to G4RWTHROW(a).
o cstring.icc: defined function G4String::strcasecompare(a,b) which will
NOT invoke the non-ANSI function strcasecmp(a,b) when G4USE_STD_NAMESPACE
is set.
- defs.h:
o fixed memory leaks in destruction of 'str' in destructors and
copy-constructors of G4RWGeneralException and G4RWBoundsErr.
March 21, 00 G.Cosmo (STLInterface-V01-01-00)
- Forced initialization of vectors' members also for ordered/sorted
collections. Even when using the access operator vector::operator[]
as left-hand operand, it requires the vector to be not empty. Removed
usage of vector::reserve(capacity).
March 10, 00 G.Cosmo
- Implemented correct behavior for vectors' default constructors, as
expected by the RW interface.
o for pointer/value ordered/sorted collections, an EMPTY STL vector is
created and the vector capacity is set to a G4RWDEFAULT_CAPACITY
using vector::reserve(capacity). No element initialisation is done.
o for pointer/value simple collections, a default constructor creating
and EMPTY vector is implemented; the constructor taking the capacity
as argument, creates an STL vector of the given capacity and explicitly
initialises its elements. Pointers are initialised to zero.
February 8, 00 G.Cosmo
- cstring.icc: fixed yet another bug in G4String::toUpper() and
G4String::toLower(). Loop over the string characters was causing