forked from boostorg/tuple
removed cons list construction tests if BOOST_NO_PARTIAL_SPECIALIZATION
[SVN r10929]
This commit is contained in:
@ -264,11 +264,13 @@ void foo7() {
|
||||
// Testing cons lists
|
||||
void foo8()
|
||||
{
|
||||
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
cons<volatile float, null_type> a(1, null_type());
|
||||
cons<const int, cons<volatile float, null_type> > b(2,a);
|
||||
int i = 3;
|
||||
cons<int&, cons<const int, cons<volatile float, null_type> > > c(i, b);
|
||||
BOOST_TEST(make_tuple(3,2,1)==c);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user