[patch] add __is_final trait to fix libstdc++/51365

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Dec 12 14:23:00 GMT 2011


On Mon, Dec 12, 2011 at 5:25 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:

>> I think being able to detect a final class is good enough for now,
>> until we find out if there are real problems being encountered as
>> people make more use of C++11.
>
> Maybe. But in my opinion we should not rush. Something is wrong here at a
> more fundamental level.
>

I agree that we should wait a little bit for the dust to settle down.
Users should
avoid it, and implementors shouldn't go through hoops non commensurable with
the benefits of "final".  Maybe the "right" primitive is slightly different.



More information about the Gcc-patches mailing list