mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-17 06:12:18 +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)");
|
||||
|
||||
vector<int, int, int> ti;
|
||||
BOOST_TEST((is >> ti) != 0);
|
||||
BOOST_TEST(!!(is >> ti));
|
||||
BOOST_TEST(ti == make_vector(100, 200, 300));
|
||||
|
||||
// Note that strings are problematic:
|
||||
|
Reference in New Issue
Block a user