Opened 7 years ago
Closed 7 years ago
#11249 closed Bugs (fixed)
Compilation fails after including reverse_fold.hpp
| Reported by: | Owned by: | Joel de Guzman | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | fusion |
| Version: | Boost 1.58.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

fixed in https://github.com/boostorg/fusion/pull/74