![]() Be defensive against a reentrant std::function::operator=(nullptr_t), in case the held function object has a non-trivial destructor. Destroying the function object in-place can lead to the destructor being called twice. Patch by Duncan P. N. Exon Smith. C++03 support by Volodymyr Sapsai. rdar://problem/32836603 Reviewers: EricWF, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits, arphaman Differential Revision: https://reviews.llvm.org/D34331 llvm-svn: 330885 |
||
---|---|---|
.. | ||
F.pass.cpp | ||
F_assign.pass.cpp | ||
F_incomplete.pass.cpp | ||
F_nullptr.pass.cpp | ||
alloc.fail.cpp | ||
alloc.pass.cpp | ||
alloc_F.fail.cpp | ||
alloc_F.pass.cpp | ||
alloc_function.fail.cpp | ||
alloc_function.pass.cpp | ||
alloc_nullptr.fail.cpp | ||
alloc_nullptr.pass.cpp | ||
alloc_rfunction.fail.cpp | ||
alloc_rfunction.pass.cpp | ||
copy_assign.pass.cpp | ||
copy_move.pass.cpp | ||
default.pass.cpp | ||
move_reentrant.pass.cpp | ||
nullptr_t.pass.cpp | ||
nullptr_t_assign.pass.cpp | ||
nullptr_t_assign_reentrant.pass.cpp |