
Markus Werle wrote:
Eric Niebler <eric <at> boost-consulting.com> writes:
This one is easy:
proto::unpack_expr<sum>( fusion::as_vector( proto::flatten(a + b + c + d) ) );
fusion::as_vector() is needed because proto::unpack_expr() currently requires a random access sequence, and proto::flatten() returns a forward sequence. I should loosen that requirement.
This means an interface change. Can we have your word on that it will be changed before official release?
It's not a breaking interface change, no. Everything that worked before will continue to work after I make this change. I'll fix it, but I don't see it as a high priority, since there's a workaround. -- Eric Niebler Boost Consulting www.boost-consulting.com