Re: [Boost-bugs] [Boost C++ Libraries] #5414: Errors compiling a piece of fusion with phoenix. Pheonix bug?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5414: Errors compiling a piece of fusion with phoenix. Pheonix bug?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-05 09:08:32


#5414: Errors compiling a piece of fusion with phoenix. Pheonix bug?
--------------------------------------+-------------------------------------
  Reporter: joe@… | Owner: djowel
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: phoenix
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+-------------------------------------

Comment (by joe@…):

 What are those minor modifications?

 Can you tell me what's wrong with this please? (It works for pheonix 2)

 {{{

         template <typename V1, typename V2>
         struct result
         {
                 // Presume that the return type is the type of the first
 element
                 // of the first sequence argument.
                 typedef typename boost::fusion::result_of::value_at<V1,
 boost::mpl::int_<0> >::type type;
         };
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5414#comment:4>
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:06 UTC