From 30f148cf44b8671b341fc4f06128e5f31fa8c68a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 3 Dec 2014 06:59:07 -0600 Subject: [PATCH] Patch by Lukas Korous: Apply a workaround for Microsoft Visual Studio. --- .../include/boost/config/compiler/visualc.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp b/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp index 842f086515..467172498a 100644 --- a/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp +++ b/bundled/boost-1.56.0/include/boost/config/compiler/visualc.hpp @@ -168,6 +168,16 @@ # define BOOST_NO_CXX11_DECLTYPE_N3276 #endif +// Apply the bugfix from this patch: https://svn.boost.org/trac/boost/ticket/10215 +// +//// Although VC 2013 claims to support defaulted functions, it +//// does not support the =default construct. See +//// http://msdn.microsoft.com/en-us/library/hh409293.aspx +//// +#ifdef _MSC_VER + #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#endif + // C++11 features not supported by any versions #define BOOST_NO_CXX11_CHAR16_T #define BOOST_NO_CXX11_CHAR32_T -- 2.39.5