[pooma-dev] RFA: DomainIterator.h: Add DomainTraits Specializ ation

Jeffrey Oldham oldham at codesourcery.com
Wed May 23 22:16:32 UTC 2001


On Wed, May 23, 2001 at 01:03:10PM -0700, James Crotinger wrote:
> Since DomainIterator doesn't explicitly use the "int" specialization, it
> seems like this include shouldn't go here - rather it should probably go
> with whatever decided to use an "int" as a domain.
> 
>   Jim

How about this?  OK to commit?

When trying to compile src/CoordinateSystems/tests/CartesianTest1.cpp,
gcc 3.0 complained that a DomainTraits specialization was declared
after the general DomainTraits.  This patch resolve the problem.

2001 May 23  Jeffrey D. Oldham  <oldham at codesourcery.com>

        * Domain.h: Add DomainTraits.int.h inclusion.

Tested on       sequential Linux using gcc 3.0 by compiling CartesianTest1.cpp and the Pooma library
Approved by     ???you???

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: Domain.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Domain/Domain.h,v
retrieving revision 1.31
diff -c -p -r1.31 Domain.h
*** Domain.h	2001/04/13 02:12:58	1.31
--- Domain.h	2001/05/23 22:13:28
***************
*** 62,67 ****
--- 62,68 ----
  
  #include "Domain/DomainBase.h"
  #include "Domain/DomainTraits.h"
+ #include "Domain/DomainTraits.int.h"
  #include "Utilities/NoInit.h"
  #include "Utilities/PAssert.h"
  


More information about the pooma-dev mailing list