|
Boost Testing : |
Subject: Re: [Boost-testing] [VC++10] Could someone please see if this compiles?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-30 22:15:30
On Mon, 31 May 2010, KTC wrote:
> 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".
And they're all the same ambiguity error (the one that kept showing up
before)?
-- Jeremiah Willcock