mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-12 12:06:30 +02:00
merge from trunk
[SVN r56179]
This commit is contained in:
@ -33,12 +33,24 @@ namespace
|
||||
int
|
||||
main()
|
||||
{
|
||||
{
|
||||
boost::fusion::vector<> t;
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 < 4)));
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 > 0)));
|
||||
}
|
||||
|
||||
{
|
||||
boost::fusion::vector<int, short, double> t(1, 2, 3.3);
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 < 4)));
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 > 0)));
|
||||
}
|
||||
|
||||
{
|
||||
boost::fusion::vector<int, short, double, long> t(1, 2, 3.3, 2);
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 < 4)));
|
||||
BOOST_TEST((boost::fusion::all(t, boost::lambda::_1 > 0)));
|
||||
}
|
||||
|
||||
{
|
||||
boost::fusion::vector<int, short, double> t(1, 2, 3.3);
|
||||
BOOST_TEST((!boost::fusion::all(t, boost::lambda::_1 == 1)));
|
||||
|
Reference in New Issue
Block a user