|
Boost : |
Subject: Re: [boost] [array] Support for multidimensional arrays?
From: David Stone (david_at_[hidden])
Date: 2015-05-05 20:28:25
array<int, 3, 4, 5> would be my preferred syntax, because it works with
variadic templates.
The one main design decision for a multi-dimensional array is what begin()
and end() iterate over: int, or array<int, 4, 5>?
There was a standard proposal for this:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3794.html
The decision that the author made in that paper was to have begin and end
iterate over int in my example.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk