Commit 1d4eb925 by Paolo Carlini Committed by Paolo Carlini

howto.html: Add entry for DR 103 [WP].

2004-03-08  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/ext/howto.html: Add entry for DR 103 [WP].
	* include/bits/stl_multiset.h: Add comment about DR 103.
	* include/bits/stl_set.h: Likewise.

From-SVN: r79114
parent f1c89270
2004-03-08 Paolo Carlini <pcarlini@suse.de> 2004-03-08 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entry for DR 103 [WP].
* include/bits/stl_multiset.h: Add comment about DR 103.
* include/bits/stl_set.h: Likewise.
2004-03-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get<>::_M_extract): * include/bits/locale_facets.tcc (money_get<>::_M_extract):
The value _space_ indicates that at least one space is required The value _space_ indicates that at least one space is required
at that position. at that position.
......
...@@ -295,6 +295,15 @@ ...@@ -295,6 +295,15 @@
not required to set <code>gcount</code>). not required to set <code>gcount</code>).
</dd> </dd>
<dt><a href="lwg-defects.html#103">103</a>:
<em>set::iterator is required to be modifiable, but this allows
modification of keys.</em>
</dt>
<dd>For associative containers where the value type is the same as
the key type, both <code>iterator</code> and <code>const_iterator
</code> are constant iterators.
</dd>
<dt><a href="lwg-defects.html#109">109</a>: <dt><a href="lwg-defects.html#109">109</a>:
<em>Missing binders for non-const sequence elements</em> <em>Missing binders for non-const sequence elements</em>
</dt> </dt>
......
...@@ -128,6 +128,9 @@ namespace __gnu_norm ...@@ -128,6 +128,9 @@ namespace __gnu_norm
typedef typename _Alloc::const_pointer const_pointer; typedef typename _Alloc::const_pointer const_pointer;
typedef typename _Alloc::reference reference; typedef typename _Alloc::reference reference;
typedef typename _Alloc::const_reference const_reference; typedef typename _Alloc::const_reference const_reference;
// _GLIBCXX_RESOLVE_LIB_DEFECTS
// DR 103. set::iterator is required to be modifiable,
// but this allows modification of keys.
typedef typename _Rep_type::const_iterator iterator; typedef typename _Rep_type::const_iterator iterator;
typedef typename _Rep_type::const_iterator const_iterator; typedef typename _Rep_type::const_iterator const_iterator;
typedef typename _Rep_type::const_reverse_iterator reverse_iterator; typedef typename _Rep_type::const_reverse_iterator reverse_iterator;
......
...@@ -132,6 +132,9 @@ namespace __gnu_norm ...@@ -132,6 +132,9 @@ namespace __gnu_norm
typedef typename _Alloc::const_pointer const_pointer; typedef typename _Alloc::const_pointer const_pointer;
typedef typename _Alloc::reference reference; typedef typename _Alloc::reference reference;
typedef typename _Alloc::const_reference const_reference; typedef typename _Alloc::const_reference const_reference;
// _GLIBCXX_RESOLVE_LIB_DEFECTS
// DR 103. set::iterator is required to be modifiable,
// but this allows modification of keys.
typedef typename _Rep_type::const_iterator iterator; typedef typename _Rep_type::const_iterator iterator;
typedef typename _Rep_type::const_iterator const_iterator; typedef typename _Rep_type::const_iterator const_iterator;
typedef typename _Rep_type::const_reverse_iterator reverse_iterator; typedef typename _Rep_type::const_reverse_iterator reverse_iterator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment