
19 Jul
2012
19 Jul
'12
11:08 a.m.
On 07/18/12 01:29, Vicente J. Botet Escriba wrote:
Hi,,
In the example from the doc
typedef mpl::vector< copy_constructible<_a>, copy_constructible<_b>, copy_constructible<_c>, 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));
[snip] The 1st attachment, composed from above, doesn't compile, giving errors in 2nd attachment. svn update shows: Updated to revision 79597. How should the code be changed to allow compilation? TIA. -regards, Larry