19 Jul
2009
19 Jul
'09
3:33 p.m.
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. Thanks!
19 Jul
19 Jul
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
5611
Age (days ago)
5611
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
joel