merged from trunk
[SVN r21489]
This commit is contained in:
1 parent
584e2797cb
commit
3f839a6698
2 files changed
+20
-14
No files matched your search
@@ -35,6 +35,8 @@ struct b5 { typedef int xxx[10]; };
|
||||
struct b6 { typedef void (*xxx)(); };
|
||||
struct b7 { typedef void (xxx)(); };
|
||||
|
||||
template <class T> struct outer;
|
||||
template <class T> struct inner { typedef typename T::type type; };
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -59,5 +61,7 @@ int main()
|
||||
BOOST_STATIC_ASSERT(has_xxx<b6>::value);
|
||||
BOOST_STATIC_ASSERT(has_xxx<b7>::value);
|
||||
|
||||
BOOST_STATIC_ASSERT(!has_xxx<outer<inner<int> > >::value);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user