This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56613] [4.8 Regression] map::operator[](key_type&&) fails with custom allocator
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Mar 2013 13:35:14 +0000
- Subject: [Bug libstdc++/56613] [4.8 Regression] map::operator[](key_type&&) fails with custom allocator
- Auto-submitted: auto-generated
- References: <bug-56613-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56613
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-13 13:35:14 UTC ---
Oops, the program isn't quite valid C++03, I forgot these members of the
allocator:
pointer address(reference x) const throw() { return &x; }
const_pointer address(const_reference x) const throw() { return &x; }
That doesn't affect the issue though.