Boost logo

Boost Users :

Subject: [Boost-users] [mpl] type --> wrapper<type>
From: Igor R (boost.lists_at_[hidden])
Date: 2009-07-19 11:33:59


Hello,

How to do in mpl the following:

template<template<class> class wrapper, class arg> 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!


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net