
18 Mar
2008
18 Mar
'08
8:06 a.m.
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? Markus