Boost logo

Boost Users :

Subject: Re: [Boost-users] Reverse mpl set<>
From: Gabriel Redner (gredner_at_[hidden])
Date: 2013-04-25 11:22:20


> I'll try another tack: can an mpl::set be converted to an mpl::vector?

Sure:

typedef copy<your_set, back_inserter<vector<> > >::type your_vector;

-Gabe


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