Boost logo

Boost :

Subject: Re: [boost] [coroutine] new versions
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2012-10-05 21:54:28


On Oct 5, 2012, at 4:53 PM, Giovanni Piero Deretta <gpderetta_at_[hidden]> wrote:

> On Fri, Oct 5, 2012 at 8:46 PM, Oliver Kowalke <oliver.kowalke_at_[hidden]>wrote:
>
>>> Anyway, maybe the use of the get accessor can be made more readable
>> without effort using tags
>> does boost.tuple provide such a facility?
>>
> no, but boost.fusion does. Maybe coroutine should only support unary
> arguments/results and let the user choose its preferred "packaging" by
> explicitly specifying tuple or fusion map/sets?
>
+1

That would greatly simplify things. You wouldn't need to worry about signature inversion, the parameterization is streamlined, and accessing the argument can be reduced to an arg() accessor.

___
Rob


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