Opened 12 years ago
Closed 12 years ago
#4580 closed Bugs (fixed)
result_of of iter_fold() and other fold variants broken
Reported by: | anonymous | Owned by: | Christopher Schmidt |
---|---|---|---|
Milestone: | Boost 1.45.0 | Component: | fusion |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | fold.patch added |
---|
comment:1 by , 12 years ago
Milestone: | To Be Determined → Boost-1.45.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Ouch, that's a killer bug. Thanks for the report! I will commit the fix asap.