Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81901 - in trunk: boost/smart_ptr libs/smart_ptr libs/smart_ptr/test
From: pdimov_at_[hidden]
Date: 2012-12-13 11:57:56


Author: pdimov
Date: 2012-12-13 11:57:55 EST (Thu, 13 Dec 2012)
New Revision: 81901
URL: http://svn.boost.org/trac/boost/changeset/81901

Log:
Replace use of BOOST_HAS_VARIADIC_TMPL with !BOOST_NO_CXX11_VARIADIC_TEMPLATES.
Text files modified:
   trunk/boost/smart_ptr/make_shared_object.hpp | 2 +-
   trunk/libs/smart_ptr/make_shared.html | 2 +-
   trunk/libs/smart_ptr/test/allocate_shared_array_args_test.cpp | 2 +-
   trunk/libs/smart_ptr/test/make_shared_array_args_test.cpp | 2 +-
   4 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/smart_ptr/make_shared_object.hpp
==============================================================================
--- trunk/boost/smart_ptr/make_shared_object.hpp (original)
+++ trunk/boost/smart_ptr/make_shared_object.hpp 2012-12-13 11:57:55 EST (Thu, 13 Dec 2012)
@@ -199,7 +199,7 @@
     return boost::shared_ptr< T >( pt, pt2 );
 }
 
-#if defined( BOOST_HAS_VARIADIC_TMPL ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
+#if !defined( BOOST_NO_CXX11_VARIADIC_TEMPLATES ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
 
 // Variadic templates, rvalue reference
 

Modified: trunk/libs/smart_ptr/make_shared.html
==============================================================================
--- trunk/libs/smart_ptr/make_shared.html (original)
+++ trunk/libs/smart_ptr/make_shared.html 2012-12-13 11:57:55 EST (Thu, 13 Dec 2012)
@@ -41,7 +41,7 @@
   template&lt;typename T, typename A&gt;
     shared_ptr&lt;T&gt; allocate_shared( A const &amp; );
 
-#if defined( BOOST_HAS_VARIADIC_TMPL ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) // C++0x prototypes
+#if !defined( BOOST_NO_CXX11_VARIADIC_TEMPLATES ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) // C++0x prototypes
 
   template&lt;typename T, typename... Args&gt;
     shared_ptr&lt;T&gt; make_shared( Args &amp;&amp; ... args );

Modified: trunk/libs/smart_ptr/test/allocate_shared_array_args_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/allocate_shared_array_args_test.cpp (original)
+++ trunk/libs/smart_ptr/test/allocate_shared_array_args_test.cpp 2012-12-13 11:57:55 EST (Thu, 13 Dec 2012)
@@ -57,7 +57,7 @@
         BOOST_TEST( X::instances == 0 );
     }
 
-#if defined( BOOST_HAS_VARIADIC_TMPL ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
+#if !defined( BOOST_NO_CXX11_VARIADIC_TEMPLATES ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
 
     {
         boost::shared_ptr< X[] > px = boost::allocate_shared< X[] >( std::allocator<X>(), 2, 1 );

Modified: trunk/libs/smart_ptr/test/make_shared_array_args_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/make_shared_array_args_test.cpp (original)
+++ trunk/libs/smart_ptr/test/make_shared_array_args_test.cpp 2012-12-13 11:57:55 EST (Thu, 13 Dec 2012)
@@ -56,7 +56,7 @@
         BOOST_TEST( X::instances == 0 );
     }
 
-#if defined( BOOST_HAS_VARIADIC_TMPL ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
+#if !defined( BOOST_NO_CXX11_VARIADIC_TEMPLATES ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
 
     {
         boost::shared_ptr< X[] > px = boost::make_shared< X[] >( 2, 1 );


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