[Boost-bugs] [Boost C++ Libraries] #11249: Compilation fails after including reverse_fold.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11249: Compilation fails after including reverse_fold.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-29 11:14:07


#11249: Compilation fails after including reverse_fold.hpp
---------------------------------------+---------------------
 Reporter: Christopher Hinz <hinz@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
---------------------------------------+---------------------
 After including the header file for reverse_fold, compilation fails with
 the error:

 {{{

 In file included from
 /usr/include/boost/fusion/algorithm/iteration/reverse_fold.hpp:35:
 /usr/include/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp:16:29:
 error: unknown template name 'result_of_with_decltype'
           : fusion::detail::result_of_with_decltype<
 }}}

 Unlike fold.hpp, reverse_fold.hpp never includes the corresponding header
 file for
 result_of_with_decltype.

 The error can be reproduced with the following code:

 {{{

 #include <boost/fusion/algorithm/iteration/reverse_fold.hpp>

 int main()
 {
 }
 }}}

 This bug also affects reverse_iter_fold.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11249>
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:18 UTC