This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54812] [C++11] Delete expression doesn't respect access of defaulted destructor


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]