Boost logo

Boost :

Subject: Re: [boost] [parameter] some extensions to Boost.Parameter
From: David Abrahams (dave_at_[hidden])
Date: 2008-10-29 00:14:10


on Tue Oct 28 2008, "Stjepan Rajko" <stipe-AT-asu.edu> wrote:

>>>> *3* Make ArgumentPacks constructible from other ArgumentPacks.
>>>> [...]
>>>>
>>>> The benefit here is that the implementation of window doesn't need to
>>>> be templated (which is helpful in some cases), and you don't need to
>>>> write any forwarding functions (or use BOOST_PARAMETER_FUN).
>>
>> That's very nice. Could be very useful if one wants to hide the function
>> into a separate cpp.
>>
>
> This was exactly what I needed it for :-)

You can always forward to a separate implementation function, per
http://www.boost.org/doc/libs/1_36_0/libs/parameter/doc/html/index.html#parameter-enabled-member-functions

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk