Boost C++ Libraries: Ticket #4830: generalize fusion::as_map and fusion::pair https://svn.boost.org/trac10/ticket/4830 <p> Given an <code>mpl::vector</code> of keys, and a <code>fusion::vector</code> of values, what's the easiest way to create a fusion::map? </p> <p> The obvious solution of just zipping the two sequences and passing the result to <code>fusion::as_map</code> doesn't work because <code>as_map</code> (somewhat narrowly) requires all elements to be <code>fusion::pair</code>, and Fusion's zip algorithm produces sequences of <code>vector2</code>. I'd like to see this generalized so that (a) <code>as_map</code> only requires sequences of 2-tuples and (b) <code>fusion::pair</code> meets the requirements for 2-tuples. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4830 Trac 1.4.3