mirror of
https://github.com/boostorg/utility.git
synced 2025-08-03 06:44:37 +02:00
fixed for vc7
[SVN r1706]
This commit is contained in:
@@ -94,11 +94,12 @@ namespace test
|
||||
template <class Name_, class Value_, class Index_>
|
||||
void operator()(Name_ const& n_, Value_ const& v_, Index_ const& i_) const
|
||||
{
|
||||
BOOST_STATIC_ASSERT((boost::is_same<Name,Name_>::value));
|
||||
// vc7 fails on these assert because of constness mismatch
|
||||
// BOOST_STATIC_ASSERT((boost::is_same<Name,Name_>::value));
|
||||
assert(equal(n, n_));
|
||||
BOOST_STATIC_ASSERT((boost::is_same<Value,Value_>::value));
|
||||
// BOOST_STATIC_ASSERT((boost::is_same<Value,Value_>::value));
|
||||
assert(equal(v, v_));
|
||||
BOOST_STATIC_ASSERT((boost::is_same<Index,Index_>::value));
|
||||
// BOOST_STATIC_ASSERT((boost::is_same<Index,Index_>::value));
|
||||
assert(equal(i, i_));
|
||||
}
|
||||
|
||||
@@ -137,4 +138,3 @@ int main()
|
||||
//f(index = 56, name = 55); // won't compile
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user