minor fixes

[SVN r2602]
This commit is contained in:
Arkadiy Vertleyb
2005-05-12 02:01:02 +00:00
parent 0735dcc78b
commit bc3ccb41da
3 changed files with 546 additions and 127 deletions
+1 -1
View File
@@ -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
View File
@@ -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..."