Subject: Re: [boost] [Review Request] array
From: Simonson, Lucanus J (lucanus.j.simonson_at_[hidden])
Date: 2012-07-19 13:52:38
> Based on the assumption that, almost no feedback is good feedback, I'd
> like to submit the array class for review.
Typically that wouldn't be a very good assumption, but the proposal isn't very controversial. We have multi-dimensional C style arrays, we have single dimensional std::array and we have variadic templates. Enhancing std:array to multi-dimensional using variadic templates to make it symmetric with C style arrays seems like an obvious thing to do in a TR, and doing it in boost is a good first step.
I looked at the documentation. It seems odd that you don't show an example of the syntax you are trying to achieve in user code. It is intuitive that array<int, 2, 3> my_array would result in something indexable with my_array. The documentation should say so.
Can this library be made an extension of the existing boost array by detecting variadic template/C++-11 support at compile time? It seems it should be backward compatible with existing usage of boost array. I would prefer that to a new library.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk