[Bug libstdc++/79467] [7 Regression] incorrect static assertion in shared_ptr
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 11 21:08:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79467
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb 11 21:08:11 2017
New Revision: 245363
URL: https://gcc.gnu.org/viewcvs?rev=245363&root=gcc&view=rev
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/79467.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h
More information about the Gcc-bugs
mailing list