
5 Sep
2010
5 Sep
'10
8:03 p.m.
Try:
typedef copy
all_containers;
copy was a good hint:). I only had to introduce a custom inserter: template< class T > class containers : public mpl::vector< std::vector< T > , std::list< T > , std::deque< T >
{ };
typedef mpl::vector< float , double , long double >::type my_types; typedef mpl::copy < my_types , mpl::inserter < mpl::vector0<> , mpl::insert_range < mpl::_1 , mpl::end< mpl::_1 > , containers< mpl::_2 > >
::type all_containers;
which solved my problem. Best regards, Karsten