On 7/5/13 7:57 AM, Mateusz Loskot wrote:
Hi,
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. Sorry for not given feedback on the ADL issue. I haven't given it much though yet, but I'm open to suggestions. Regards, -- Joel de Guzman http://www.ciere.com http://boost-spirit.com http://www.cycfi.com/