[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
CVS update:
- To: pooma-cvs@xxxxxxxxxxxxxxxxxxxxxx
- Subject: CVS update:
- From: pooma@xxxxxxxxxxxxxxxxxxxxxxx
- Date: 13 Apr 2001 02:12:59 -0000
Date: Thursday April 12, 2001 @ 20:12
Author: pooma
Update of /home/pooma/Repository/r2/src/Domain
In directory merlin.codesourcery.com:/tmp/cvs-serv24395
Modified Files:
AllDomain.h Contains.h Domain.h DomainBase.h
DomainBlockIterator.h DomainIterator.h DomainMap.h
DomainTraits.Grid.h DomainTraits.Interval.h DomainTraits.Loc.h
DomainTraits.Range.h DomainTraits.Region.h
DomainTraits.SliceInterval.h DomainTraits.SliceRange.h
DomainTraits.h DomainTraits.int.h EquivSubset.h Grid.h
IndirectionList.h IndirectionListIterator.h Intersect.h
Interval.h IntervalIterator.h LeftDomain.h Loc.h NewDomain.h
Range.h RangeIterator.h Region.h RightDomain.h SliceDomain.h
SliceInterval.h SliceRange.h Split.h Touches.h
Log Message:
My modifications to the Domain sources. The key changes were
-- change enums for Domain traits to static const data members
-- eliminate casts of enums and unnecessary comparisons
-- added missing forward declarations of specializations of
some class templates
-- extracted const variables in static member functions of
class templates that are dependent only on the class template
parameters and made them static const member data
I made sure to provide a copy of all the static traits values
from the DomainTraits specializations inside the Domain subclasses.
I also standardized where the typedefs and static data are extracted
from across all the Domain subclasses. Hopefully, the contents of
these classes are less arbitrary now. No changes should be required
to code outside of this directory. (One exception: comparisons of
traits like unitStride with 1 are no longer necessary, since this
is now a bool value already. But the existing code should not fail.)
|