19 Jul
2009
19 Jul
'09
3:38 p.m.
Igor R wrote:
Hello,
How to do in mpl the following:
template struct wrap { typedef wrapper<arg> type; };
Particularly, I've got a sequence of types, and I have to get shared_ptr's of these types.
no need for template template class, use lambda meta-function.
template<class Seq>
struct add_shared_ptr: mpl::transform