From 0735dcc78b98809eb2b88b585043a00c01710f7d Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Wed, 20 Apr 2005 13:46:17 +0000 Subject: [PATCH] vc-8_0 fix [SVN r2581] --- test/Jamfile | 2 ++ test/compliant/test_compliant.cpp | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index b7e6446..b8b6995 100755 --- a/test/Jamfile +++ b/test/Jamfile @@ -16,6 +16,8 @@ exe typeof no no no + no + no : debug debug_compliant ; diff --git a/test/compliant/test_compliant.cpp b/test/compliant/test_compliant.cpp index 3377086..5f6a65f 100755 --- a/test/compliant/test_compliant.cpp +++ b/test/compliant/test_compliant.cpp @@ -85,10 +85,11 @@ void test_spirit2() #include namespace negate_test { - template T make(); + template + std::negate make_negate(const T&); template - BOOST_TYPEOF_TPL(make >()(T())) + BOOST_TYPEOF_TPL(make_negate(T())(T())) operator-(T const& x) { return std::negate()(x);