https://bugs.documentfoundation.org/show_bug.cgi?id=38835

--- Comment #22 from Stephan Bergmann <[email protected]> ---
(In reply to Björn Michaelsen from comment #21)
> Note that constants (currently either #defines or "static const ..." can --
> with C++11 -- be turned into constexprs:
> 
>  http://en.cppreference.com/w/cpp/language/constexpr
> 
> which should be generally preferable.

...but isn't available in MSVC 2013 (and reportedly only partially in MSVC
2015, aka MSVC 14, <http://en.cppreference.com/w/cpp/compiler_support>). 
That's why SAL_CONSTEXPR (include/sal/types.h), and can only use it in ways
that do not /require/ it to expand to "constexpr".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to