From f41b1d2d4cc3eef150625cf08c6e8ffd292ecca8 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 14 Jun 2012 15:52:44 +0000 Subject: [PATCH] Added a note about std::array in C++11 [SVN r78947] --- doc/array.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/array.xml b/doc/array.xml index fca63a6..62bf7c2 100644 --- a/doc/array.xml +++ b/doc/array.xml @@ -70,6 +70,11 @@ Technical Report, which will extend the C++ Standard (see http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1548.htm). + Update: std::array is (as of C++11) part of the C++ standard. + The differences between boost::array and std::array are minimal. + If you are using C++11, you should consider using std::array instead of boost::array. + + Class array fulfills most but not all of the requirements of "reversible containers" (see Section 23.1, [lib.container.requirements] of the C++