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


On 12/03/2012 04:53 AM, Noel Grandin wrote:
Sunday, 2 December 2012, Michael Stahl wrote:

    what i'd really like to have though is a C++ keyword with semantics
    of "just use the same
    exception specification as the base class method" ... plus "error if
    there is not actually a base class method with that parameter
    signature", while we're


I'm pretty sure recent compilers support an override annotation that
does that kind of checking.

Note that "override" addresses the second objective (and we could indeed benefit from a SAL_OVERRIDE; this is similar to how we had macros for back-then new C++ style casts, which over time got replaced again with the true thing) but not the first.

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.