forked from boostorg/typeof
minor pre-review fixes
[SVN r2578]
This commit is contained in:
+2
-2
@@ -190,7 +190,7 @@ void lvalue_typeof_test()
|
||||
int& rn = n;
|
||||
const int& rcn = cn;
|
||||
int f();
|
||||
//const int cf();
|
||||
const int cf();
|
||||
int& rf();
|
||||
const int& rcf();
|
||||
|
||||
@@ -201,7 +201,7 @@ void lvalue_typeof_test()
|
||||
BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(f()), int>::value));
|
||||
BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(rf()), int&>::value));
|
||||
BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(rcf()), const int&>::value));
|
||||
//BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(cf()), const int&>::value));
|
||||
BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(cf()), const int&>::value));
|
||||
//BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(21), int>::value));
|
||||
//BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(int(21)), int>::value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user