Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-10-01 19:36:53


Marco Costalba wrote:
> On 10/1/07, Joel de Guzman <joel_at_[hidden]> wrote:
>> Marco Costalba wrote:
>>> On 10/1/07, Marco Costalba <mcostalba_at_[hidden]> wrote:
>>>> On 10/1/07, Joel de Guzman <joel_at_[hidden]> wrote:
>>>>> Joel de Guzman wrote:
>>>>>
>>>>> Hence, I'd like to propose an extension (or a separate library)
>>>>> for allowing overloads for boost.function. The example above can
>>>>> be declared as:
>> [snip]
>>> A little bit more complex but works for any number of arguments (sigantures).
>> Smart, Marco! You know fusion well :-)
>>
>
> Well, not so well, it doesn't compile...but I've looked also at tuples
> in the meantime and this one actually works:
>
> Sorry to post the file but I have no access to my host:
>

Better. Only relies on tuples. No more. With low level libraries,
the ideal is to rely on as little libraries as possible.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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