mirror of
https://github.com/boostorg/tuple.git
synced 2025-07-30 04:37:15 +02:00
workaround for boost test library problem
[SVN r14992]
This commit is contained in:
@ -33,7 +33,8 @@ typedef istringstream useThisIStringStream;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int test_main(int argc, char * argv[] ) {
|
int test_main(int argc, char * argv[] ) {
|
||||||
|
(void)argc;
|
||||||
|
(void)argv;
|
||||||
using boost::tuples::set_close;
|
using boost::tuples::set_close;
|
||||||
using boost::tuples::set_open;
|
using boost::tuples::set_open;
|
||||||
using boost::tuples::set_delimiter;
|
using boost::tuples::set_delimiter;
|
||||||
@ -94,7 +95,7 @@ int test_main(int argc, char * argv[] ) {
|
|||||||
useThisIStringStream is("(100 200 300)");
|
useThisIStringStream is("(100 200 300)");
|
||||||
|
|
||||||
tuple<int, int, int> ti;
|
tuple<int, int, int> ti;
|
||||||
BOOST_TEST(is >> ti);
|
BOOST_TEST(bool(is >> ti));
|
||||||
BOOST_TEST(ti == make_tuple(100, 200, 300));
|
BOOST_TEST(ti == make_tuple(100, 200, 300));
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user