Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-01-03 11:27:42

Ok, I went with Lois's solution.

There were occurances of the same problem in depth first search, uniform
cost search, and bellman-ford shortest paths. I've fixed these as well.
I don't have a MIPSPro compiler handy at the moment (on vacation), so
either Andrew can make sure it works now, or I'll check when I get
back next week.


On Wed, 3 Jan 2001, Andrew Myers wrote:

andrew> Lois,
andrew> I tried your suggestion. Both compilers happy with this.
andrew> Lois Goldthwaite wrote:
andrew> >
andrew> > I'm inclined to agree with MIPSPro over VC (so is Sun's 5.0 compiler,
andrew> > BTW). Isn't it supposed to check for legal constructs at the point of
andrew> > instantiation?
andrew> >
andrew> > As a matter of curiosity, did you try specifying the default template
andrew> > parameter this way:
andrew> >
andrew> > template <class T = Null >
andrew> > class Foo
andrew> > {
andrew> > public:
andrew> > Foo( T t = T() ) {}
andrew> > };
andrew> >

 Jeremy Siek www:
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906

Boost list run by bdawes at, gregod at, cpdaniel at, john at