PR libstdc++/79467 use lvalues in is_callable check
commitbadc62a820738c37072cee47b25fbd184b48e808
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Feb 2017 21:08:11 +0000 (11 21:08 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Feb 2017 21:08:11 +0000 (11 21:08 +0000)
treea9a8cc9d87f40928689ebf59534a0b894f7e9c86
parent0b3b97e0c081bc8061e00a27f432294227b0c519
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245363 138bc75d-0d04-0410-961f-82ee72b054a4
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]