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:


>>>> (.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

Boost list run by bdawes at, gregod at, cpdaniel at, john at