From ad639ffb6144b75eb91c2f54fb6cce56e7582a73 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 20 May 2022 14:27:20 -0700 Subject: [PATCH] Lower version of dinkumware check as msvc-12.0 supports piecewise construction --- include/boost/unordered/detail/fwd.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/fwd.hpp b/include/boost/unordered/detail/fwd.hpp index e749ce67..acaa8f11 100644 --- a/include/boost/unordered/detail/fwd.hpp +++ b/include/boost/unordered/detail/fwd.hpp @@ -1,5 +1,6 @@ // Copyright (C) 2008-2016 Daniel James. +// Copyright (C) 2022 Christian Mazakas // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -31,7 +32,7 @@ // 2012 = VC+11 = BOOST_MSVC 1700 Hopefully! // I have no idea when Dinkumware added it, probably a lot // earlier than this check. -#if BOOST_LIB_STD_DINKUMWARE >= BOOST_VERSION_NUMBER(6, 50, 0) || \ +#if BOOST_LIB_STD_DINKUMWARE >= BOOST_VERSION_NUMBER(6, 10, 0) || \ BOOST_COMP_MSVC >= BOOST_VERSION_NUMBER(17, 0, 0) #define BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT 1 #endif