From: Paolo Carlini Date: Mon, 29 Aug 2005 16:11:19 +0000 (+0000) Subject: PR libstdc++/23578 (DR 464 [Ready]) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b5f07a224611f7dcff90910b493b93c2ef0c6b8;p=gcc.git PR libstdc++/23578 (DR 464 [Ready]) 2005-08-29 Paolo Carlini PR libstdc++/23578 (DR 464 [Ready]) * include/bits/stl_map.h (class map): Add at(const key_type&) member functions. * include/bits/stl_vector.h (class vector): Add data() member functions. * include/debug/map.h (class map): Adjust consistently. * include/debug/vector (class vector): Likewise. * testsuite/23_containers/map/element_access/1.cc: New. * testsuite/23_containers/vector/data_access/1.cc: Likewise. * docs/html/ext/howto.html: Add an entry for DR 464. From-SVN: r103609 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 76c62a1c471..a69c4ce46fb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2005-08-29 Paolo Carlini + + PR libstdc++/23578 (DR 464 [Ready]) + * include/bits/stl_map.h (class map): Add at(const key_type&) + member functions. + * include/bits/stl_vector.h (class vector): Add data() member + functions. + * include/debug/map.h (class map): Adjust consistently. + * include/debug/vector (class vector): Likewise. + * testsuite/23_containers/map/element_access/1.cc: New. + * testsuite/23_containers/vector/data_access/1.cc: Likewise. + * docs/html/ext/howto.html: Add an entry for DR 464. + 2005-08-26 Benjamin Kosnik PR libstdc++/20534 (contd) diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html index 0b7b17b59de..85161964e5f 100644 --- a/libstdc++-v3/docs/html/ext/howto.html +++ b/libstdc++-v3/docs/html/ext/howto.html @@ -520,6 +520,13 @@
Don't fail if the next pointer is null and newoff is zero.
+ +
464: + Suggestion for new member functions in standard containers +
+
Add data() to std::vector and + at(const key_type&) to std::map. +