Opened 10 years ago
Closed 8 years ago
#8457 closed Bugs (fixed)
Boost.Fusion - inclusion of <boost/fusion/iterator.hpp> fails to compile with msvc 11
Reported by: | anonymous | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | fusion |
Version: | Boost 1.53.0 | Severity: | Regression |
Keywords: | Cc: |
Description
the error pops up in <boost/fusion/iterator/iterator_adapter.hpp> - result_of::advance, result_of::distance, result_of::value_of, result_of::deref seem to be undefined; inclusion of <boost/fusion/iterator/advance.hpp>, <boost/fusion/iterator/distance.hpp>, <boost/fusion/iterator/value_of.hpp>, <boost/fusion/iterator/deref.hpp> prior to inclusion of <boost/fusion/iterator.hpp> helps to resolve the issue.
is the problem in invalid order of includes in <boost/fusion/iterator.hpp> (inclusion of <boost/fusion/iterator/iterator_adapter.hpp> should be placed at the end) or in the lack of apropriate includes in <boost/fusion/iterator/iterator_adapter.hpp>?
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 8 years ago
The problem is not specific to MSVC 11. The solution is to add the missing headers listed to <boost/fusion/iterator/iterator_adapter.hpp> so that it compiles on its own.
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
If you have a patch, I'd be happy to apply it. I do not have MSVC 11.