PR libstdc++/83226 avoid forming pointer-to-reference type
authorJonathan Wakely <jwakely@redhat.com>
Thu, 30 Nov 2017 13:45:37 +0000 (13:45 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 30 Nov 2017 13:45:37 +0000 (13:45 +0000)
commit5f939178ec1e667d2a05bed96a9078cc926eba9d
tree49d8aaaed8eaf49cc108770ff49ccf45aa5b6ee8
parentb0da403432622fbca987e23547af5b882c9ae87f
PR libstdc++/83226 avoid forming pointer-to-reference type

PR libstdc++/83226
* include/bits/node_handle.h (_Node_handle::__pointer): Avoid forming
pointer-to-reference types.
* testsuite/23_containers/map/modifiers/insert/83226.cc: New test.

From-SVN: r255271
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/node_handle.h
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/83226.cc [new file with mode: 0644]