|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-01-02 09:03:03
Lois,
Do you also disagree with John's reading of 14.7.1 paragraph 2?
-Dave
----- Original Message -----
From: "Lois Goldthwaite" <loisg_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, January 02, 2001 8:44 AM
Subject: [boost] Re: Problems compiling graph library on IRIX.
> I'm inclined to agree with MIPSPro over VC (so is Sun's 5.0 compiler,
> BTW). Isn't it supposed to check for legal constructs at the point of
> instantiation?
>
> As a matter of curiosity, did you try specifying the default template
> parameter this way:
>
> template <class T = Null >
> class Foo
> {
> public:
> Foo( T t = T() ) {}
> };
>
>
> VC seems equally happy with it.
>
> Lois
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk