]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/56613 (map::operator[](key_type&&) fails with custom allocator)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Thu, 14 Mar 2013 23:28:11 +0000 (23:28 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Mar 2013 23:28:11 +0000 (23:28 +0000)
commit1f069142c7eda3b10138dfc15aa158a18d17cedf
tree0b9c753ade38d319ebf9d143e87b32de623d3d43
parent8cc9a5a584a57e06f1e2c83cb8ccd18a02a1bc91
re PR libstdc++/56613 (map::operator[](key_type&&) fails with custom allocator)

PR libstdc++/56613
* include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
allocator_traits instead of calling construct directly.
* testsuite/23_containers/map/56613.cc: New.

From-SVN: r196666
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/map/56613.cc [new file with mode: 0644]