[API] Some more cleanup ideas

Stephan Bergmann sbergman at redhat.com
Mon Dec 3 03:22:44 PST 2012

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.


More information about the LibreOffice mailing list