Hi David, On 12-10-2014 06:31, David Ostrovsky wrote:
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/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
* Raw string literals * Variadic templatesI 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice