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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to