25 Sep
2015
25 Sep
'15
12:34 p.m.
I see Boost.Switch_ was provisionally accepted back inJan 2008.
I see some doc here:
http://dancinghacker.com/switch
But I can't see it released in recent boost versions
I need to select a type to dynamic_cast to based on a runtime index, so I
would have the type in a mpl::vector, and use the switch_ to pick up the
right type? I have under 20 types.
in pseudo c++11:
void f(std::size_t i, const T* obj)
{
typedef mpl::vector