Terje Slettebø
From: "Aleksey Gurtovoy"
Markus Werle wrote:
Q3: (OT) Is there a mpl-equivalent to run-time case?
With the current CVS, you don't have to do it by yourself:
#include "boost/mpl/switch.hpp"
Ah, so you _have_ implemented switch. :) I checked the CVS and I see that it was committed _today_. :) Did you implement it at the response of the posting here?
We've been discussing that for a long time, so I think Aleksey had the implementation in his head for a while.
I mentioned in my reply in this thread that it could be a good addition (before it had been added to the CVS), and that was fast done. :)
I think it would've happened sooner if I'd been more thrilled with the syntax ;-) -- Dave Abrahams Boost Consulting www.boost-consulting.com