|
Boost Users : |
From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2007-06-12 17:18:40
Aleksey Gurtovoy wrote:
> Yuval Ronen writes:
>> However, I don't need mpl::map as output, any Forward
>> Sequence will suffice (as this is what make_variant_over requires). So
>> is mpl::fold the answer here?
>
> No, you can still use 'transform', like this:
>
> typedef mpl::front_inserter< mpl::vector0<> > inserter;
> typedef mpl::transform< my_map, make_ptr_pair1<mpl::_1>, inserter >::type ptr_pair_seq1;
Great, thanks.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net