This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21770] rebinding allocator::value type vs. container::value_type
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2005 17:43:29 -0000
- Subject: [Bug libstdc++/21770] rebinding allocator::value type vs. container::value_type
- References: <20050526165558.21770.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-05-26 17:43 -------
This is news to me too: what about 23.1/8? It says:
"All other constructors for these container types take an Allocator& argument
(20.1.5), an allocator whose value type is the same as the container's value
type"
Allocator is the template argument of the vector class, of course. Missing a
clarification of the above, or a DR?!?, I consider this as an extension, lower
priority than other new issues.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21770