forked from boostorg/typeof
vc-8_0 fix
[SVN r2581]
This commit is contained in:
@ -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
|
||||
;
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user