VS2013: improved C++11 conformance

Marcos Paulo de souza marcos.souza at libreoffice.org
Sun Oct 12 05:35:52 PDT 2014


Hi David,

On 12-10-2014 06:31, David Ostrovsky wrote:
>
> Recently compiler baseline was raised to VS 2012 to use improved C++11 
> conformance. It turns out that VS2013 has much more C++11 features  [1]:
>
> * Default template arguments for function templates
> * Delegating constructors
> * Explicit conversion operators
> * Initializer lists and uniform initialization
I created a patch using initializer list and it seems VS 2012 does not 
have this feature. Stephan also did another patch using this C++11, and 
the buildbot with VS2012 didn't like it. This is the patch: 
https://gerrit.libreoffice.org/#/c/11872/
> * Raw string literals
> * Variadic templates
>
> I wonder if we could raise VS baseline again and require VS2013. 
> Particularly this change compiles without problems on VS2013 [2].
>
> [1] 
> http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx
> [2] https://gerrit.libreoffice.org/11872
>
> David
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list