forked from boostorg/fusion
@ -33,10 +33,10 @@ main()
|
||||
using namespace std;
|
||||
|
||||
{
|
||||
vector0 vec;
|
||||
vector0<> vec;
|
||||
(void) vec;
|
||||
cout << "(): " << sizeof(vec) << endl;
|
||||
cout << (boost::is_empty<vector0>::value ? "is empty" : "is not empty") << endl;
|
||||
cout << (boost::is_empty<vector0<> >::value ? "is empty" : "is not empty") << endl;
|
||||
}
|
||||
|
||||
{
|
||||
@ -207,7 +207,7 @@ main()
|
||||
|
||||
{
|
||||
// testing copy and assign from a view
|
||||
vector0 empty;
|
||||
vector0<> empty;
|
||||
fusion::vector2<int, long> v(fusion::push_back(fusion::push_back(empty, 123), 456));
|
||||
BOOST_TEST(at_c<0>(v) == 123);
|
||||
BOOST_TEST(at_c<1>(v) == 456);
|
||||
|
Reference in New Issue
Block a user