[Libreoffice] compile-time trickery to detect misuse of SAL_N_ELEMENTS, RTL_CONSTASCII_USTRINGPARAM, etc.
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 ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the LibreOffice