[pooma-dev] Domain traits

James Crotinger JimC at proximation.com
Thu Apr 12 17:48:35 UTC 2001


By the way, I made an attempt to implement Jim's idea
of eliminating DomainTraits specializations for Domain
subclasses and making the general DomainTraits<T> get
all traits from T.  Alas, it doesn't work. 

It won't work with the current architecture. This is fairly obvious since
the concrete domains depend on DomainTraits in a twisted way:

  template<int Dim>
  class Interval : public Domain<Dim, DomainTraits<Interval<Dim> > >

Trying to make DomainTraits get anything from the ultimate Domain would
clearly create a real circular dependency. The problem, however, is with the
current architecture, not with the idea. 8-)

	Jim

---------------------------------------------------
James A. Crotinger
Software Research Scientist
Proximation, LLC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010412/cace0fbe/attachment.html>


More information about the pooma-dev mailing list