mirror of
https://github.com/boostorg/fusion.git
synced 2026-04-29 10:13:36 +02:00
0e24ec0a85e3ad5fc75433c9f73bda7eeed9f3d7
Boost.Fusion extension for std::array
An attempt to adapt std::array for Boost.Fusion.
The implementation is functional and passes the same test as adapted Boost.Array.
Proposal thread on the Boost mailing list: [fusion] Adapter for std::array.
However, there is a problem with ADL and range-based access to the sequence which is a well-known issue:
- Fusion begin/end ADL issues with C++0x range-based for
- Boost ticket: fusion::begin and fusion::end lead to problems with ADL-based begin and end functions for ranges
- Boost ticket: Treat std::array as a Fusion sequence
See also:
- N3257=11-0027 Jonathan Wakely and Bjarne Stroustrup: Range-based for statements and ADL. Option 5 was chosen for C++11.
Description
Languages
C++
100%