|
Boost : |
Subject: Re: [boost] Is there any interest in Boost.Conversion?
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2010-05-28 23:35:43
On Fri, May 28, 2010 at 8:23 AM, vicente.botet <vicente.botet_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk