Commit d4cd08dd by Paolo Carlini Committed by Paolo Carlini

howto.html: Add entry for DR 253 [Ready].

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

	* docs/html/ext/howto.html: Add entry for DR 253 [Ready].
	* include/bits/gslice_array.h: Add comment about DR 253.
	* include/bits/indirect_array.h: Likewise.
	* include/bits/mask_array.h: Likewise.
	* include/bits/slice_array.h: Likewise.

From-SVN: r79412
parent c973d557
2004-03-12 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entry for DR 253 [Ready].
* include/bits/gslice_array.h: Add comment about DR 253.
* include/bits/indirect_array.h: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.
2004-03-12 Benjamin Kosnik <bkoz@redhat.com> 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/20_util/allocator/14176.cc: New. * testsuite/20_util/allocator/14176.cc: New.
......
...@@ -412,6 +412,14 @@ ...@@ -412,6 +412,14 @@
<dd>This nested typdef was originally not specified. <dd>This nested typdef was originally not specified.
</dd> </dd>
<dt><a href="lwg-active.html#253">253</a>:
<em>valarray helper functions are almost entirely useless</em>
</dt>
<dd>Make the copy constructor and copy-assignment operator declarations
public in gslice_array, indirect_array, mask_array, slice_array; provide
definitions.
</dd>
<dt><a href="lwg-defects.html#265">265</a>: <dt><a href="lwg-defects.html#265">265</a>:
<em>std::pair::pair() effects overly restrictive</em> <em>std::pair::pair() effects overly restrictive</em>
</dt> </dt>
......
...@@ -61,11 +61,12 @@ namespace std { ...@@ -61,11 +61,12 @@ namespace std {
public: public:
typedef _Tp value_type; typedef _Tp value_type;
// this constructor needs to be implemented. // _GLIBCXX_RESOLVE_LIB_DEFECTS
// 253. valarray helper functions are almost entirely useless
/// Copy constructor. Both slices refer to the same underlying array. /// Copy constructor. Both slices refer to the same underlying array.
gslice_array(const gslice_array&); gslice_array(const gslice_array&);
// This operator must be public. See DR-253.
/// Assignment operator. Assigns slice elements to corresponding /// Assignment operator. Assigns slice elements to corresponding
/// elements of @a a. /// elements of @a a.
gslice_array& operator=(const gslice_array&); gslice_array& operator=(const gslice_array&);
......
...@@ -63,11 +63,12 @@ namespace std ...@@ -63,11 +63,12 @@ namespace std
public: public:
typedef _Tp value_type; typedef _Tp value_type;
// this constructor needs to be implemented. // _GLIBCXX_RESOLVE_LIB_DEFECTS
// 253. valarray helper functions are almost entirely useless
/// Copy constructor. Both slices refer to the same underlying array. /// Copy constructor. Both slices refer to the same underlying array.
indirect_array(const indirect_array&); indirect_array(const indirect_array&);
// XXX: This is a proposed resolution for DR-253.
/// Assignment operator. Assigns elements to corresponding elements /// Assignment operator. Assigns elements to corresponding elements
/// of @a a. /// of @a a.
indirect_array& operator=(const indirect_array&); indirect_array& operator=(const indirect_array&);
......
...@@ -63,11 +63,12 @@ namespace std { ...@@ -63,11 +63,12 @@ namespace std {
public: public:
typedef _Tp value_type; typedef _Tp value_type;
// this constructor needs to be implemented. // _GLIBCXX_RESOLVE_LIB_DEFECTS
// 253. valarray helper functions are almost entirely useless
/// Copy constructor. Both slices refer to the same underlying array. /// Copy constructor. Both slices refer to the same underlying array.
mask_array (const mask_array&); mask_array (const mask_array&);
// This operator must be public. See DR-253.
/// Assignment operator. Assigns elements to corresponding elements /// Assignment operator. Assigns elements to corresponding elements
/// of @a a. /// of @a a.
mask_array& operator=(const mask_array&); mask_array& operator=(const mask_array&);
......
...@@ -123,11 +123,12 @@ namespace std ...@@ -123,11 +123,12 @@ namespace std
public: public:
typedef _Tp value_type; typedef _Tp value_type;
// This constructor is implemented since we need to return a value. // _GLIBCXX_RESOLVE_LIB_DEFECTS
// 253. valarray helper functions are almost entirely useless
/// Copy constructor. Both slices refer to the same underlying array. /// Copy constructor. Both slices refer to the same underlying array.
slice_array(const slice_array&); slice_array(const slice_array&);
// This operator must be public. See DR-253.
/// Assignment operator. Assigns slice elements to corresponding /// Assignment operator. Assigns slice elements to corresponding
/// elements of @a a. /// elements of @a a.
slice_array& operator=(const slice_array&); slice_array& operator=(const slice_array&);
......
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