Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-30 05:22:13


João Abecasis <jpabecasis_at_[hidden]> writes:

> Tobias Schwinger wrote:

>>> Tobias Schwinger wrote:

>>>> I noticed several bugs in fusion::unpack_args (maybe one of them is

>>>> rooted elsewhere) and wrote a small program that shows the problems:

>>>>

>>>> http://tinyurl.com/kzlm5 (.cpp file)

>>

>> Joao just fixed the CVS version. The file has been removed from the vault.

>

> For the record... Tobias test case exposed some serious shortcomings in

> the implementation of unpack_args, which should now be fixed in CVS.

> They were:

>

> 1 - support for function pointers was completely broken. Specifically, I

> learned that result_of doesn't handle cv-qualified function pointers.

Shouldn't we fix result_of?

> 2 - Random Access Sequences were required when Forward Sequences would

> have been sufficient. Here I failed to grasp the Fusion Concepts while

> porting unpack_args from Fusion v1.

>

> 3 - Function references weren't handled at all.

A result_of problem, or something else?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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