|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61579 - trunk/libs/smart_ptr/test
From: pdimov_at_[hidden]
Date: 2010-04-26 12:39:46
Author: pdimov
Date: 2010-04-26 12:39:45 EDT (Mon, 26 Apr 2010)
New Revision: 61579
URL: http://svn.boost.org/trac/boost/changeset/61579
Log:
Add BOOST_HAS_VARIADIC_TMPL as a test condition.
Text files modified:
trunk/libs/smart_ptr/test/make_shared_perfect_forwarding_test.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/smart_ptr/test/make_shared_perfect_forwarding_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/make_shared_perfect_forwarding_test.cpp (original)
+++ trunk/libs/smart_ptr/test/make_shared_perfect_forwarding_test.cpp 2010-04-26 12:39:45 EDT (Mon, 26 Apr 2010)
@@ -12,14 +12,14 @@
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
-#ifndef BOOST_HAS_RVALUE_REFS
+#if !defined( BOOST_HAS_RVALUE_REFS ) || !defined( BOOST_HAS_VARIADIC_TMPL )
int main()
{
return 0;
}
-#else // BOOST_HAS_RVALUE_REFS
+#else // BOOST_HAS_RVALUE_REFS, BOOST_HAS_VARIADIC_TMPL
class myarg
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk