Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85879 - trunk/boost/python
From: steveire_at_[hidden]
Date: 2013-09-25 03:55:01


Author: skelly
Date: 2013-09-25 03:55:01 EDT (Wed, 25 Sep 2013)
New Revision: 85879
URL: http://svn.boost.org/trac/boost/changeset/85879

Log:
Python: Trivially define the BOOST_PYTHON_EXPLICIT_TT_DEF macro

As BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS is never defined, this
macro is obsolete.

Text files modified:
   trunk/boost/python/type_id.hpp | 8 +++-----
   1 files changed, 3 insertions(+), 5 deletions(-)

Modified: trunk/boost/python/type_id.hpp
==============================================================================
--- trunk/boost/python/type_id.hpp Wed Sep 25 03:48:32 2013 (r85878)
+++ trunk/boost/python/type_id.hpp 2013-09-25 03:55:01 EDT (Wed, 25 Sep 2013) (r85879)
@@ -69,11 +69,9 @@
     base_id_t m_base_type;
 };
 
-# ifdef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
-# define BOOST_PYTHON_EXPLICIT_TT_DEF(T) ::boost::type<T>*
-# else
-# define BOOST_PYTHON_EXPLICIT_TT_DEF(T)
-# endif
+
+// This macro is obsolete. Port away and remove.
+# define BOOST_PYTHON_EXPLICIT_TT_DEF(T)
 
 template <class T>
 inline type_info type_id(BOOST_EXPLICIT_TEMPLATE_TYPE(T))


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