El 02/06/2022 a las 8:59, Julien Blanc via Boost escribió:
Le 2022-06-02 08:06, Gavin Lambert via Boost a écrit :
On 2/06/2022 17:57, Julien Blanc wrote:
I've written and released a (rather small) library which allows defining arrays with arbitrary index mechanisms (hence the name, indexed_array). This especially allows indexing with scoped enums, use non zero-starting indexes, or use sparse indexes. This is not a view, but an array in the sense that it owns the data, and provides the same guarantees and functionalities as std::array, such as triviality propagation, being able to reside in read-only program sections, etc.
How does it compare with Boost.MultiIndex?
[...]
So, i believe they address different use cases.
Hi Julien, I've taken a look at your docs and, yes, your proposal covers a totally different space than Boost.MultiIndex. Best, Joaquín M López Muñoz