forked from boostorg/typeof
minor fixes
[SVN r2602]
This commit is contained in:
+1
-1
@@ -19,5 +19,5 @@ exe typeof
|
||||
<vc-8_0><debug_compliant><build>no
|
||||
<vc-8_0><release_compliant><build>no
|
||||
:
|
||||
debug debug_compliant
|
||||
debug release debug_compliant release_compliant
|
||||
;
|
||||
|
||||
+2
-2
@@ -202,8 +202,8 @@ void lvalue_typeof_test()
|
||||
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(21), int>::value));
|
||||
//BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(int(21)), int>::value));
|
||||
//BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(21), int>::value)); //msvc
|
||||
BOOST_STATIC_ASSERT((boost::is_same<BOOST_LVALUE_TYPEOF(int(21)), int>::value));
|
||||
}
|
||||
|
||||
#define BOOST_TYPEOF_TEXT "Noncopyable..."
|
||||
|
||||
Reference in New Issue
Block a user