Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85893 - in trunk/boost: math/constants property_map units
From: steveire_at_[hidden]
Date: 2013-09-25 06:28:29


Author: skelly
Date: 2013-09-25 06:28:28 EDT (Wed, 25 Sep 2013)
New Revision: 85893
URL: http://svn.boost.org/trac/boost/changeset/85893

Log:
Remove use of BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS

Text files modified:
   trunk/boost/math/constants/constants.hpp | 12 ++----------
   trunk/boost/property_map/dynamic_property_map.hpp | 2 --
   trunk/boost/units/config.hpp | 4 ----
   3 files changed, 2 insertions(+), 16 deletions(-)

Modified: trunk/boost/math/constants/constants.hpp
==============================================================================
--- trunk/boost/math/constants/constants.hpp Wed Sep 25 06:28:10 2013 (r85892)
+++ trunk/boost/math/constants/constants.hpp 2013-09-25 06:28:28 EDT (Wed, 25 Sep 2013) (r85893)
@@ -151,11 +151,7 @@
          {
             initializer()
             {
- F(
- #ifdef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
- 0
- #endif
- );
+ F();
             }
             void force_instantiate()const{}
          };
@@ -177,11 +173,7 @@
          {
             initializer()
             {
- F(
- #ifdef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
- mpl::int_<N>() , 0
- #endif
- );
+ F();
             }
             void force_instantiate()const{}
          };

Modified: trunk/boost/property_map/dynamic_property_map.hpp
==============================================================================
--- trunk/boost/property_map/dynamic_property_map.hpp Wed Sep 25 06:28:10 2013 (r85892)
+++ trunk/boost/property_map/dynamic_property_map.hpp 2013-09-25 06:28:28 EDT (Wed, 25 Sep 2013) (r85893)
@@ -299,7 +299,6 @@
   }
 }
 
-#ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
 template<typename Value, typename Key>
 Value
 get(const std::string& name, const dynamic_properties& dp, const Key& key)
@@ -312,7 +311,6 @@
 
   BOOST_THROW_EXCEPTION(dynamic_get_failure(name));
 }
-#endif
 
 template<typename Value, typename Key>
 Value

Modified: trunk/boost/units/config.hpp
==============================================================================
--- trunk/boost/units/config.hpp Wed Sep 25 06:28:10 2013 (r85892)
+++ trunk/boost/units/config.hpp 2013-09-25 06:28:28 EDT (Wed, 25 Sep 2013) (r85893)
@@ -67,10 +67,6 @@
         #error Boost.Units requires function template partial ordering
     #endif
 
- #ifdef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
- #error Boost.Units requires explicit function template arguments
- #endif
-
     #ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
         #error Boost.Units requires partial specialization
     #endif


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