From: David Abrahams (dave_at_[hidden])
Date: 2008-08-13 14:41:42
on Wed Aug 13 2008, "Peter Dimov" <pdimov-AT-pdimov.com> wrote:
> Stjepan Rajko:
>> function_taking_both( label("hello") & size(1) );
> FWIW, I've been using this in a context where I needed "arbitrary"
> argument lists and it works. It has the advantage that the caller only
> needs to know about label and size, the eventual callee only needs to
> know about the arguments it recognizes and can ignore the rest, and
> the intermediate layers can pass everything downstream as-is without
> knowing about anything.
Why is everyone hand-rolling the functionality we already have in
-- 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