You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that Fusion is fine, reverse_fold requires a Bidirectional Sequence while cons is a Forward Sequence, though it could have a static assert like reverse_view has
The example from documentation https://www.boost.org/doc/libs/1_69_0/libs/fusion/doc/html/fusion/algorithm/iteration/functions/reverse_fold.html compiles fine as-is, but replacingvector
withcons
yield a compile error. This seems to be a regression, because I came to it at debugging failure in Proto tests, but it might be introduced a long time ago.Update: the Proto test/example is simply violating Fusion invariants. I opened a PR to fix it boostorg/proto#15.
The text was updated successfully, but these errors were encountered: