forked from boostorg/tuple
adding a test for cons list default construction
[SVN r11016]
This commit is contained in:
@ -270,6 +270,9 @@ void foo8()
|
|||||||
int i = 3;
|
int i = 3;
|
||||||
cons<int&, cons<const int, cons<volatile float, null_type> > > c(i, b);
|
cons<int&, cons<const int, cons<volatile float, null_type> > > c(i, b);
|
||||||
BOOST_TEST(make_tuple(3,2,1)==c);
|
BOOST_TEST(make_tuple(3,2,1)==c);
|
||||||
|
|
||||||
|
cons<char, cons<int, cons<float, null_type> > > x;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -281,7 +284,6 @@ void foo9()
|
|||||||
BOOST_TEST(get<1>(t1) == 3.3f);
|
BOOST_TEST(get<1>(t1) == 3.3f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------
|
// --------------------------------
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
int test_main(int, char *[]) {
|
int test_main(int, char *[]) {
|
||||||
|
Reference in New Issue
Block a user