[Libreoffice] compile-time trickery to detect misuse of SAL_N_ELEMENTS, RTL_CONSTASCII_USTRINGPARAM, etc.

Thorsten Behrens thb at documentfoundation.org
Mon Nov 15 04:36:09 PST 2010


Michael Meeks wrote:
> 	Does that mean we should use some of the boost system abstractions
> instead of our own home-brewed ones where appropriate - perhaps ;-) - is
> that what underlies the question ? clearly if they perform better it'd
> be lovely - is there some low-hanging fruit here ? I was wondering if we
> could inline & perhaps optimise out lots of atomic referencing
> operations around the place :-)
> 
Nah, this was prompted by the array-detection magic from Caolan, of
which I was reminded of a nice boost::type_traits helper using a
similar technique. No particular plans to replace anything - just a
bunch of useful helpers we could now use at places ...

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101115/e1e841db/attachment.pgp>


More information about the LibreOffice mailing list