|
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 20:58:47
Now, trying the old one with just some things renamed (and no initializer
for x):
template <typename G, typename P>
struct a {};
template <typename G, typename T, typename B>
struct a<G, T B::*> {
typedef int type;
};
struct c {};
template <typename P, typename R, typename Q>
struct d {};
template <typename P, typename T, typename B, typename Q>
struct a<d<P, c, Q>, T B::*> {
typedef double type;
};
struct e {
float member;
};
int main(int, char**) {
a<d<e, c, int>, float e::*>::type** x;
return 0;
}
I think I'll just submit this if it ends up failing.