|
From: | James Crotinger |
Subject: | RE: [pooma-dev] Domain traits |
Date: | Thu, 12 Apr 2001 10:48:35 -0700 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |