[pooma-dev] Explicit Instantiation Problem with Pooma 2 using KCC on RH 6.2 Linux
Jeffrey Oldham
oldham at codesourcery.com
Fri May 4 19:56:48 UTC 2001
On Fri, May 04, 2001 at 08:55:16AM -0600, Scott Haney wrote:
>
> On Thursday, May 3, 2001, at 06:38 PM, Jeffrey Oldham wrote:
>
> > Dave Nyholm submitted a program equivalent to
> >
> > #include "Pooma/NewFields.h"
> >
> > template View1<Field<NoGeometry<(int)3>, int,
> > CompressibleBrickView>,
> > Interval<(int)3> >::sv;
> >
> > I fail to see why it should compile.
>
> I've hit this problem before with Array. I guess I forgot to move this
> to Field. The solution is to not use View1 in the call to read(), but
> rather to make another class, View0, that handles this special case.
> This removes the circular dependency when pre-instantiating View1. This
> is inelegant and it might not always work, but it made KCC happy before.
> See Array.h.
OK, I will go look now, making changes if I understand. do not expect
anything before late this evening since I am busy at Stanford this
afternoon.
Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
More information about the pooma-dev
mailing list