Boost::tuple: fix compiler-specifc test.
parent
eadc6116c0
commit
6be8df5fde
|
@ -36,12 +36,12 @@ TEST(NoBoostTest, Tuple) {
|
||||||
EXPECT_EQ(4U, first.get<1>());
|
EXPECT_EQ(4U, first.get<1>());
|
||||||
EXPECT_EQ(4U, first.get<2>());
|
EXPECT_EQ(4U, first.get<2>());
|
||||||
|
|
||||||
boost::tuple<int,float,double,bool,another> second;
|
boost::tuple<int, float, double, bool, another> second;
|
||||||
bool b = second.get<3>();
|
bool b = second.get<3>();
|
||||||
EXPECT_FALSE(b);
|
|
||||||
|
|
||||||
// check empty tuple, ignore compile warning
|
// check empty tuple
|
||||||
boost::tuple<> third;
|
boost::tuple<> third;
|
||||||
|
third;
|
||||||
|
|
||||||
// FIXME: Explicit conversion not really required yet
|
// FIXME: Explicit conversion not really required yet
|
||||||
boost::tuple<float,float,float> last =
|
boost::tuple<float,float,float> last =
|
||||||
|
|
Loading…
Reference in New Issue