Subject: [Boost-bugs] [Boost C++ Libraries] #4580: result_of of iter_fold() and other fold variants broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-21 16:57:57
#4580: result_of of iter_fold() and other fold variants broken
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
a file only containing the single line:
#include <boost/fusion/algorithm/iteration/iter_fold.hpp>
fails. that's because detail/fold.hpp always uses result_of::fold, instead
of result_of::iter_fold, ...
if iteration/fold.hpp is included by chance this can lead to hard other
errors that are hard to track down.
attaching patch
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4580> 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:04 UTC