Boost logo

Boost :

Subject: Re: [boost] [fusion] Adapter for std::array
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-07-05 19:49:13


On 5 July 2013 01:30, Joel de Guzman <djowel_at_[hidden]> wrote:
> On 7/5/13 7:57 AM, Mateusz Loskot wrote:
>>
>> I have prototyped Fusion adapter for std::array,
>> as an attempt to clear the related feature request:
>>
>> https://svn.boost.org/trac/boost/ticket/8241
>>
>> Here is the functional and testable code of the adaptor :
>>
>> https://github.com/mloskot/boost_fusion_std_array
>>
>> I will appreciate any critique and comments.
>>
>> Unfortunately, I have hit the apparently well-known problem.
>> It is the Fusion begin/end ADL issues with C++0x range-based for
>> and such, as discussed and reported here:
>>
>> http://lists.boost.org/Archives/boost/2010/12/174199.php
>> https://svn.boost.org/trac/boost/ticket/4028
>>
>> There has been no feedback to the ticket #8241, so I'm not
>> sure what is the Fusion authors' view on std::array adoption.
>> So, a couple of questions:
>>
>> Do the Fusion authors consider any cure for the ADL issues?
>>
>> If not, despite the inconvenience of use of qualified names,
>> would it be still possible to accept std::array into Fusion?
>
>
> I'd love to have it in fusion.

Sounds very good to me :)

> Sorry for not given feedback on the
> ADL issue. I haven't given it much though yet, but I'm open to
> suggestions.

No problem. Regrettably, I'm not able to help her,
it's fairly new ground to me, still.

Best regards,

--
Mateusz  Loskot, http://mateusz.loskot.net

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