This is the mail archive of the gcc-patches@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]

Re: C++ PATCH for c++/49528 (omitting destructor for temporary with constant value)


On 06/26/2011 10:00 AM, Jason Merrill wrote:
Tested x86_64-pc-linux-gnu, applying to trunk. Jakub, should this go
into 4.6.1 or .2?

I think it's fine to wait for .2, since a class with a non-trivial destructor is likely to also have a non-trivial, non-constexpr constructor, which would prevent A() from having a constant value.


Jason


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