|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83372 - sandbox/type_erasure/boost/type_erasure
From: steven_at_[hidden]
Date: 2013-03-09 14:14:15
Author: steven_watanabe
Date: 2013-03-09 14:14:14 EST (Sat, 09 Mar 2013)
New Revision: 83372
URL: http://svn.boost.org/trac/boost/changeset/83372
Log:
Fix bug in free when the first argument is not a placeholder.
Text files modified:
sandbox/type_erasure/boost/type_erasure/free.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/type_erasure/boost/type_erasure/free.hpp
==============================================================================
--- sandbox/type_erasure/boost/type_erasure/free.hpp (original)
+++ sandbox/type_erasure/boost/type_erasure/free.hpp 2013-03-09 14:14:14 EST (Sat, 09 Mar 2013)
@@ -55,7 +55,7 @@
struct first_placeholder_index :
::boost::mpl::eval_if<is_placeholder<T0>,
::boost::mpl::int_<0>,
- ::boost::mpl::next<first_placeholder<BOOST_PP_ENUM_SHIFTED_PARAMS(BOOST_TYPE_ERASURE_MAX_ARITY, T)> >
+ ::boost::mpl::next<first_placeholder_index<BOOST_PP_ENUM_SHIFTED_PARAMS(BOOST_TYPE_ERASURE_MAX_ARITY, T)> >
>::type
{};
@@ -175,7 +175,7 @@
struct first_placeholder_index<T0, T...> :
::boost::mpl::eval_if<is_placeholder<T0>,
::boost::mpl::int_<0>,
- ::boost::mpl::next<first_placeholder<T...> >
+ ::boost::mpl::next<first_placeholder_index<T...> >
>::type
{};
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