[Boost-bugs] [Boost C++ Libraries] #7513: fusion::convert() tries to call convert_impl::call but there isn't

Subject: [Boost-bugs] [Boost C++ Libraries] #7513: fusion::convert() tries to call convert_impl::call but there isn't
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-17 05:23:27


#7513: fusion::convert() tries to call convert_impl::call but there isn't
----------------------------------------------+-----------------------------
 Reporter: Kohei Takahashi <flast@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost Development Trunk | Severity: Problem
 Keywords: convert |
----------------------------------------------+-----------------------------
 fusion::convert() tries to call convert_impl::call but there isn't. Is
 seems that mistake of convert_impl::apply<seq>::call and patch is here.

 {{{
 diff --git a/boost/fusion/sequence/convert.hpp
 b/boost/fusion/sequence/convert.hpp
 index 5264810..e7a2e38 100644
 --- a/boost/fusion/sequence/convert.hpp
 +++ b/boost/fusion/sequence/convert.hpp
 @@ -20,11 +20,11 @@ namespace boost { namespace fusion
          template <typename Tag, typename Sequence>
          struct convert
          {
 - typedef typename extension::convert_impl<Tag> gen;
 -
              typedef typename
 - gen::template apply<Sequence>::type
 - type;
 + extension::convert_impl<Tag>::template apply<Sequence>
 + gen;
 +
 + typedef typename gen::type type;
          };
      }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7513>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC