PR libstdc++/79467 use lvalues in is_callable check
authorJonathan Wakely <jwakely@redhat.com>
Sat, 11 Feb 2017 21:08:11 +0000 (21:08 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 11 Feb 2017 21:08:11 +0000 (21:08 +0000)
commit99ebfe90756a3bd3c94828c56a102f886b919673
treea9a8cc9d87f40928689ebf59534a0b894f7e9c86
parentfe701c775e2c706a2e7cbb465563e23086a6adc7
PR libstdc++/79467 use lvalues in is_callable check

PR libstdc++/79467
* include/bits/shared_ptr_base.h (__shared_ptr(_Yp*, _Deleter))
(__shared_ptr(_Yp*, _Deleter, _Alloc)): Use lvalue types in
__is_callable check.
* testsuite/20_util/shared_ptr/cons/79467.cc: New.

From-SVN: r245363
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/79467.cc [new file with mode: 0644]