|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85880 - trunk/boost/python
From: steveire_at_[hidden]
Date: 2013-09-25 03:55:18
Author: skelly
Date: 2013-09-25 03:55:17 EDT (Wed, 25 Sep 2013)
New Revision: 85880
URL: http://svn.boost.org/trac/boost/changeset/85880
Log:
Python: Remove use of obsolete BOOST_PYTHON_EXPLICIT_TT_DEF macro.
Text files modified:
trunk/boost/python/opaque_pointer_converter.hpp | 5 ++---
trunk/boost/python/type_id.hpp | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
Modified: trunk/boost/python/opaque_pointer_converter.hpp
==============================================================================
--- trunk/boost/python/opaque_pointer_converter.hpp Wed Sep 25 03:55:01 2013 (r85879)
+++ trunk/boost/python/opaque_pointer_converter.hpp 2013-09-25 03:55:17 EDT (Wed, 25 Sep 2013) (r85880)
@@ -182,13 +182,12 @@
# define BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(Pointee) \
namespace boost { namespace python { \
template<> \
- inline type_info type_id<Pointee>(BOOST_PYTHON_EXPLICIT_TT_DEF(Pointee)) \
+ inline type_info type_id<Pointee>() \
{ \
return type_info (typeid (Pointee *)); \
} \
template<> \
- inline type_info type_id<const volatile Pointee&>( \
- BOOST_PYTHON_EXPLICIT_TT_DEF(const volatile Pointee&)) \
+ inline type_info type_id<const volatile Pointee&>() \
{ \
return type_info (typeid (Pointee *)); \
} \
Modified: trunk/boost/python/type_id.hpp
==============================================================================
--- trunk/boost/python/type_id.hpp Wed Sep 25 03:55:01 2013 (r85879)
+++ trunk/boost/python/type_id.hpp 2013-09-25 03:55:17 EDT (Wed, 25 Sep 2013) (r85880)
@@ -97,7 +97,7 @@
# define BOOST_PYTHON_SIGNED_INTEGRAL_TYPE_ID(T) \
template <> \
-inline type_info type_id<T>(BOOST_PYTHON_EXPLICIT_TT_DEF(T)) \
+inline type_info type_id<T>() \
{ \
return type_info(typeid(T)); \
}
@@ -171,13 +171,13 @@
# if !BOOST_WORKAROUND(BOOST_MSVC, == 1200)
template<>
-inline type_info type_id<void>(BOOST_PYTHON_EXPLICIT_TT_DEF(void))
+inline type_info type_id<void>()
{
return type_info (typeid (void *));
}
# ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
template<>
-inline type_info type_id<const volatile void>(BOOST_PYTHON_EXPLICIT_TT_DEF(const volatile void))
+inline type_info type_id<const volatile void>()
{
return type_info (typeid (void *));
}
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