Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [VC++10] Could someone please see if this compiles?
From: KTC (ktc_at_[hidden])
Date: 2010-05-30 22:14:02


On 31/05/2010 02:26, Jeremiah Willcock wrote:
>
> I think I got a couple of template parameters backwards. Could you
> please try having each line in main commented in and see which of them
> make it fail? There are three declarations for "x" so you can only have
> one enabled at a time; is there one of the declarations that by itself
> causes the build to fail? If not, does uncommenting the declaration of
> "member" make it fail? Thanks for trying these.

>
> int main(int, char**) {
> // a<d<e, c, int>, float e::*>::type** x = (double**)0;
> // a<d<e, c, int>, float e::*>::type** x;
> a<d<e, c, int>, float e::*> x;
> return 0;
> }

LOL, they all fail to compile. That's all 3 declaration of "x", with or
without declaration of "member".

KTC


Boost-testing list run by mbergal at meta-comm.com