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 #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-05 23:25:47 UTC ---
By the way, this compiles:

struct P3 {
private:
  ~P3() = default;
};

P3 p3;

thus there is little hope that we get an error for #22 ..


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