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 #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-10-05 21:00:31 UTC ---
(In reply to comment #1)
> Anyway, here, I only wanted to ask you if this is a show-stopper for your work,
> because I don't know how much time it will take.

While I think that this should be fixed, it will only prevent that I would
directly convert is_constructible to use the combined 

::delete ::new ((void*) nullptr) T(args) 

expression. Our current implementation is not sensitive to this problem,
because we use is_destructible within. I noticed that there are still a bunches
of opportunities to simplify is_constructible (and friends) because a lot of
previous compiler defects have been fixed. So, really no need to hurry!


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