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: [patch] add __is_final trait to fix libstdc++/51365


On 12/11/2011 04:05 PM, Jonathan Wakely wrote:
ping
In my opinion __is_final would be definitely useful in general, for 4.8, and 4.7 too, if isn't too late.

As regards the wider issue which is being discussed on the reflector - beware, I didn't follow all the messages - 'final' disabling a nice optimization like EBO makes me very nervous. Really, doesn't seem part of the intended general philosophy in this area. There must be a way to overcome the annoyance. Last resort, if suggestions like having 'final' not forbidding private derivation cannot go through, we could imagine a GCC attribute reverting the effect of 'final' for people (library writers ;) knowing what they are doing. I don't know.

Paolo.


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