]> git.ipfire.org Git - thirdparty/gcc.git/commit
stl_map.h (operator[](key_type&&)): Replace std::make_pair with value_type.
authorOllie Wild <aaw@google.com>
Fri, 3 Aug 2012 15:26:36 +0000 (15:26 +0000)
committerOllie Wild <aaw@gcc.gnu.org>
Fri, 3 Aug 2012 15:26:36 +0000 (15:26 +0000)
commit2222df9f3986c6ff5d08052d2dd40d9f1cd43985
treea0e32d6292321994a4b6166b17345cce6227d004
parent9b44f5d907f60d7a02ebef69d235ab48ed5eadd5
stl_map.h (operator[](key_type&&)): Replace std::make_pair with value_type.

2012-08-03  Ollie Wild  <aaw@google.com>
    Richard Smith  <richardsmith@google.com>

* include/bits/stl_map.h (operator[](key_type&&)): Replace
std::make_pair with value_type.
* testsuite/23_containers/map/operators/2.cc: New test.

Co-Authored-By: Richard Smith <richardsmith@google.com>
From-SVN: r190128
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_map.h
libstdc++-v3/testsuite/23_containers/map/operators/2.cc [new file with mode: 0644]