Multiarray-iso-proposal

Proposal for ISO C++ to modify std::array for extent counts besides one

Download as .zip Download as .tar.gz View on GitHub

About this Proposal

This proposal extends std::array from taking one extent for being built around a single-dimension array to arbitrary extents to encapsulate multidimensional arrays. The extent list is implemented with the variadic template feature introduced in C++ 2011.

Discussion

  1. Initial discussion of this proposal in early September 2013
  2. A second round of discussion of this proposal in early October 2013

These discussions were in the Google Group for ISO C++ Future Proposals forum.

Proposals

  1. N3794, the proposal after those first two rounds of discussion

You can find drafts, plus references, in the corresponding repository for this site (in the "master" branch).


Other Proposals

  1. The latest draft of the array proposal
  2. An idea to provide an initialized std::va_list object instead of doing the (C-level) variable-argument boiler-plate code yourself
  3. An idea to add C-1999 designators (as part of (aggregate) initializers) to C++.
  4. A set of new type-traits for arrays. Split off from N3794.
  5. A set of new type-traits covering transformations from the Standard.
  6. A pair of new creation functions for pointer classes converting between smart- and weak-pointers.
  7. An idea to loosen restrictions on aggregates to permit more class types to qualify.
  8. An idea to expand anonymous unions to general anonymous classes.