Boost logo

Boost :

Subject: [boost] [TypeErasure] Forward constructors and binded types
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-07-18 02:29:12


In the example from the doc

     typedef mpl::vector<
         constructible<_a(const _b&, const _c&)>
> construct;

     std::vector<double> vec;
     int i = 10;
     double d = 2.5;
     tuple<construct, _a&, _b, _c> t(vec, i, d);
     any<construct, _a> v(get<1>(t), get<2>(t));

I don't see which type is constructed and stored in v and how this type
is given. That is I don't see how _a is binded. Could you help me?


Boost list run by bdawes at, gregod at, cpdaniel at, john at