OSDN Git Service

2012-03-30 Jeffrey Yasskin <jyasskin@gcc.gnu.org>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Mar 2012 01:57:14 +0000 (01:57 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Mar 2012 01:57:14 +0000 (01:57 +0000)
commit432f440ba11cc625be2775574551cc57421682d3
tree2d2a6b8ba33db27cb48fbdae226d77dcc74a5636
parentf2e013643c8b77abfd3ff003b5c14350cd4ae9f0
2012-03-30  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52799
* include/bits/deque.tcc (emplace): Fix thinko, replace push_front
-> emplace_front, and likewise for *_back.
* testsuite/23_containers/deque/modifiers/emplace/52799.cc: New.
* testsuite/23_containers/list/modifiers/emplace/52799.cc: Likewise.
* testsuite/23_containers/vector/modifiers/emplace/52799.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186036 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/deque.tcc
libstdc++-v3/testsuite/23_containers/deque/modifiers/emplace/52799.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/list/modifiers/emplace/52799.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/52799.cc [new file with mode: 0644]