This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54812] [C++11] Delete expression doesn't respect access of defaulted destructor
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 08:11:48 +0000
- Subject: [Bug c++/54812] [C++11] Delete expression doesn't respect access of defaulted destructor
- Auto-submitted: auto-generated
- References: <bug-54812-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54812
--- Comment #6 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-10-06 08:11:48 UTC ---
(In reply to comment #5)
I double-checked whether this might be related to
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1507
from a different perspective, but I'm pretty sure it isn't. 12.4 p11 seems very
clear that the destructor would be called implicitly here and that access
checking happens.