Boost logo

Boost Users :

Subject: Re: [Boost-users] Reverse mpl set<>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-04-25 09:39:31


AMDG

On 04/25/2013 02:23 AM, Chard wrote:
> Please can someone post me the mpl to reverse an mpl::set<>. The
> mpl::reverse<> meta-function (unsurprisingly) requires a Front Extensible
> type, but I presume it's possible via a custom inserter.
>

It's probably wrong to try to reverse an mpl::set.
mpl::set doesn't guarantee that the elements appear
in any specific order.

In Christ,
Steven Watanabe


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