Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 09/17/2012 06:25 PM, Michael Stahl wrote:
i don't really think the performance benefit is that important; but
including it in a central place would give a consistency benefit in
whether assert is enabled, which sounds good to me...

...but why try and fight the Standard here?  I see no practical benefit.

We appear to have a handful of places in the code that fiddle with NDEBUG, for apparently dubious historical reasons. We should clean them up.

But why should anybody coming to this project not be able to expect the assert mechanism to be working as advertised by the Standard? (After the above clean up, I assume there'll be no code left around that would fiddle with NDEBUG. But if there were, it would likely be for some reason.)

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.