[Bug c++/54812] [C++11] Delete expression doesn't respect access of defaulted destructor
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 5 23:26:00 GMT 2012
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 ..
More information about the Gcc-bugs
mailing list