vc-8_0 fix

[SVN r2581]
This commit is contained in:
Arkadiy Vertleyb
2005-04-20 13:46:17 +00:00
parent 4e75058453
commit 0735dcc78b
2 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,8 @@ exe typeof
<msvc><release_compliant><build>no
<vc-7><debug_compliant><build>no
<vc-7><release_compliant><build>no
<vc-8_0><debug_compliant><build>no
<vc-8_0><release_compliant><build>no
:
debug debug_compliant
;

View File

@ -85,10 +85,11 @@ void test_spirit2()
#include <functional>
namespace negate_test
{
template<class T> T make();
template<class T>
std::negate<T> make_negate(const T&);
template <class T>
BOOST_TYPEOF_TPL(make<std::negate<T> >()(T()))
BOOST_TYPEOF_TPL(make_negate(T())(T()))
operator-(T const& x)
{
return std::negate<T>()(x);