mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-19 15:22:14 +02:00
Fixed test to work with an explicit operator bool
This commit is contained in:
@ -118,7 +118,7 @@ main()
|
|||||||
useThisIStringStream is("(100 200 300)");
|
useThisIStringStream is("(100 200 300)");
|
||||||
|
|
||||||
vector<int, int, int> ti;
|
vector<int, int, int> ti;
|
||||||
BOOST_TEST((is >> ti) != 0);
|
BOOST_TEST(!!(is >> ti));
|
||||||
BOOST_TEST(ti == make_vector(100, 200, 300));
|
BOOST_TEST(ti == make_vector(100, 200, 300));
|
||||||
|
|
||||||
// Note that strings are problematic:
|
// Note that strings are problematic:
|
||||||
|
Reference in New Issue
Block a user