Boost logo

Boost :

Subject: [boost] [fusion] Adapter for std::array
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-07-04 19:57:17


I have prototyped Fusion adapter for std::array,
as an attempt to clear the related feature request:

Here is the functional and testable code of the adaptor :

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:

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?

Best regards,

Mateusz  Loskot,

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