
29 May
2010
29 May
'10
3:35 a.m.
On Fri, May 28, 2010 at 8:23 AM, vicente.botet <vicente.botet@wanadoo.fr> wrote:
Note that when the Target constructor has some arguments (as is the case for vector with a specific allocator) we pack the Source and the Target arguments in a pack. The first argument is the Source.
boost::conversion::pack(vb2, std::allocator<A1>())
The function 'pack' is currently a little bit rudimentary, but is usable already for vector conversions using a specific allocator. Currently accepts only two parameters, I plan to go up to 5 parameters. Any suggestion for better namming 'boost::conversion::pack'.
boost::tuple? std::tuple? ie how does pack differ from tuple? Tony